Opened 4 years ago

Closed 3 years ago

#9397 closed Bugs (fixed)

g++ 4.7 -Wundef warnings in boost/predef headers (patch attached)

Reported by: Tom Browder <tom.browder@…> Owned by: René Rivera
Milestone: To Be Determined Component: predef USE GITHUB
Version: Boost 1.55.0 Severity: Problem
Keywords: Cc:


Following are the warnings from g++ 4.7:

boost/predef/os/macos.h:34:6: warning: "BOOST_PREDEF_DETAIL_OS_DETECTED" is not defined [-Wundef]

boost/predef/os/bsd/bsdi.h:27:6: warning: "BOOST_PREDEF_DETAIL_OS_DETECTED" is not defined [-Wundef]

boost/predef/os/bsd/dragonfly.h:27:6: warning: "BOOST_PREDEF_DETAIL_OS_DETECTED" is not defined [-Wundef]

boost/predef/os/bsd/free.h:29:6: warning: "BOOST_PREDEF_DETAIL_OS_DETECTED" is not defined [-Wundef]

boost/predef/os/bsd/open.h:58:6: warning: "BOOST_PREDEF_DETAIL_OS_DETECTED" is not defined [-Wundef]

boost/predef/os/bsd/net.h:34:6: warning: "BOOST_PREDEF_DETAIL_OS_DETECTED" is not defined [-Wundef]

boost/predef/os/bsd.h:62:6: warning: "BOOST_PREDEF_DETAIL_OS_DETECTED" is not defined [-Wundef]

Attachments (1)

boost-predef.diffs (3.1 KB) - added by Tom Browder <tom.browder@…> 4 years ago.
patch to fix warnings

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by Tom Browder <tom.browder@…>

Attachment: boost-predef.diffs added

patch to fix warnings

comment:1 Changed 4 years ago by René Rivera

Status: newassigned

comment:2 Changed 3 years ago by René Rivera

Resolution: fixed
Status: assignedclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain René Rivera.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.