Opened 9 years ago

Closed 8 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:

Description

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@…> 9 years ago.
patch to fix warnings

Download all attachments as: .zip

Change History (3)

by Tom Browder <tom.browder@…>, 9 years ago

Attachment: boost-predef.diffs added

patch to fix warnings

comment:1 by René Rivera, 9 years ago

Status: newassigned

comment:2 by René Rivera, 8 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.