Subject: [Boost-bugs] [Boost C++ Libraries] #7889: Duplicate macro definition
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-01-14 16:21:33
#7889: Duplicate macro definition
----------------------------------------+-----------------------------------
Reporter: p.brockamp@⦠| Owner: rogeeff
Type: Bugs | Status: new
Milestone: To Be Determined | Component: test
Version: Boost 1.53.0 | Severity: Optimization
Keywords: |
----------------------------------------+-----------------------------------
Hi!
I get the following warnings due to duplicate macro definitions (GCC 4.3
with some additional warnings enabled):
{{{
boost/test/utils/runtime/cla/argv_traverser.hpp:93:1: warning:
"BOOST_RT_PARAM_INLINE" redefined
boost/test/utils/runtime/cla/char_parameter.cpp:15:1: warning: this is the
location of the previous definition
boost/test/utils/runtime/cla/dual_name_parameter.cpp:15:1: warning: this
is the location of the previous definition
boost/test/utils/runtime/cla/id_policy.cpp:15:1: warning: this is the
location of the previous definition
boost/test/utils/runtime/cla/named_parameter.cpp:15:1: warning: this is
the location of the previous definition
boost/test/utils/runtime/cla/parser.cpp:17:1: warning: this is the
location of the previous definition
boost/test/utils/runtime/cla/validation.cpp:15:1: warning: this is the
location of the previous definition
boost/test/utils/runtime/env/environment.cpp:22:1: warning: this is the
location of the previous definition
}}}
This could obviously easily be avoided by an #ifndef-#define-sequence
Regards
Peter
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7889> 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:50:11 UTC