Subject: [Boost-bugs] [Boost C++ Libraries] #12037: boost::program_options tests cannot be built for both release and debug variants at the same time
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-03-01 18:06:24
#12037: boost::program_options tests cannot be built for both release and debug
variants at the same time
----------------------------------------------+----------------------------
Reporter: Diego Barrios Romero <eldruin@â¦> | Owner: vladimir_prus
Type: Bugs | Status: new
Milestone: To Be Determined | Component:
Version: Boost Development Trunk | program_options
Keywords: | Severity: Optimization
----------------------------------------------+----------------------------
On Windows 7:
boost::program_options tests cannot be built for both release and debug
variants at the same time.
Running b2 libs/program_options/test variant=release,debug results in:
{{{
Performing configuration checks
- 32-bit : yes (cached)
- arm : no (cached)
- mips1 : no (cached)
- power : no (cached)
- sparc : no (cached)
- x86 : yes (cached)
- symlinks supported : no (cached)
- junctions supported : yes (cached)
- hardlinks supported : yes (cached)
error: Name clash for
'<p..\..\..\bin.v2\libs\program_options\test\msvc-12.0\debug\link-static
\threading-multi>test_convert.exe'
error:
error: Tried to build the target twice, with property sets having
error: these incompatible properties:
error:
error: - <define>NDEBUG
error: - none
error:
error: Please make sure to have consistent requirements for these
error: properties everywhere in your project, especially for install
error: targets.
}}}
The tests can be built without problem if doing one variant after the
other (two separate calls, one for release, one for debug).
(This issue is present in the current "develop" branch, as well as in the
1.60 release)
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12037> 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:19 UTC