[Boost-bugs] [Boost C++ Libraries] #2495: boost/type_traits/is_base_and_derived.hpp fails to compile when compiling using gcc -Wundef

Subject: [Boost-bugs] [Boost C++ Libraries] #2495: boost/type_traits/is_base_and_derived.hpp fails to compile when compiling using gcc -Wundef
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-11-12 10:52:08


#2495: boost/type_traits/is_base_and_derived.hpp fails to compile when compiling
using gcc -Wundef
---------------------------------------------------+------------------------
 Reporter: ANDREW CHITTENDEN <andyc_at_[hidden]> | Type: Bugs
   Status: new | Milestone: Boost 1.38.0
Component: None | Version: Boost 1.36.0
 Severity: Problem | Keywords:
---------------------------------------------------+------------------------
 This is on boost 1.37.0 (no option for that in Version pull down at the
 moment).

 The following program:

 ---snip here---
 #include <boost/type_traits/is_base_and_derived.hpp>
 ---snip here---

 fails to compile if you compile with 'gcc -W -Wall -Wundef'. It gives the
 following errors:

 In file included from is_base_and_derived_problem.cpp:1:
 /home/andyc/work/3rdParty/boost_1_37_0/boost/type_traits/is_base_and_derived.hpp:243:1:
 warning: "__CODEGEARC___WORKAROUND_GUARD" is not defined
 /home/andyc/work/3rdParty/boost_1_37_0/boost/type_traits/is_base_and_derived.hpp:243:1:
 warning: "__CODEGEARC__" is not defined

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2495>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:59 UTC