3 Sep 22:56
[RFC] Boost library name mangling and Microsoft's 'secure STL' feature.
From: Jurko Gospodnetić <jurko.gospodnetic <at> docte.hr>
Subject: [RFC] Boost library name mangling and Microsoft's 'secure STL' feature.
Newsgroups: gmane.comp.lib.boost.devel, gmane.comp.lib.boost.build
Date: 2008-09-03 20:57:20 GMT
Subject: [RFC] Boost library name mangling and Microsoft's 'secure STL' feature.
Newsgroups: gmane.comp.lib.boost.devel, gmane.comp.lib.boost.build
Date: 2008-09-03 20:57:20 GMT
Hi all.
There have been requests to make Boost Build cleanly support
Microsoft's 'secure STL'/'checked iterators' feature.
Here's is one suggested implementation and how that will affect
building Boost libraries on Windows:
We add a new <msvc-checked-iterators> Boost Build feature with values
'off' and 'on' and 'off' being the default.
The effect of the feature would be to define the SCL_SECURE
preprocessor constant to 1 for feature value 'on' or to 0 for feature
value off. This would affect only code compiled using MSVC compiler
versions 8.0 & above.
Libraries compiled with compilers affected by this setting would have
their name mangling changed as follows:
* If the setting is 'off' there would be no change.
* If the setting is 'on' the name would get en extra letter 'c'
added to its 'runtime tag' letter group (together with 's' for
statically linked libraries, 'd' for debug, 'p' for the stlport standard
library, etc.).
Effects this would have on Boost libraries:
* If we implement the proposed solution the default Boost library
build behaviour will change. Boost libraries built by default will have
(Continue reading)
RSS Feed