Ticket #9397 (closed Bugs: fixed)

Opened 4 years ago

Last modified 2 years ago

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

Reported by: Tom Browder <tom.browder@…> Owned by: grafik
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]


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

Change History

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

patch to fix warnings

comment:1 Changed 3 years ago by grafik

  • Status changed from new to assigned

comment:2 Changed 2 years ago by grafik

  • Status changed from assigned to closed
  • Resolution set to fixed

Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

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

Note: See TracTickets for help on using tickets.