Opened 10 years ago

Closed 7 years ago

#7889 closed Bugs (fixed)

Duplicate macro definition

Reported by: p.brockamp@… Owned by: Gennadiy Rozental
Milestone: Boost 1.59.0 Component: test
Version: Boost 1.53.0 Severity: Optimization
Keywords: Cc:

Description

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

Change History (1)

comment:1 by Gennadiy Rozental, 7 years ago

Milestone: To Be DeterminedBoost 1.59.0
Resolution: fixed
Status: newclosed

Fixed in new release

Note: See TracTickets for help on using tickets.