
Thorsten Ottosen schrieb:
Hansi skrev:
Is there any interrest to get also compiled libraries for _SECURE_SCL enabled and _SECURE_SCL disabled?
Yes. I define
import feature ;
# # Composite feaure that ensures <define> can propagate # to all dependencies, not just sub-projects. #
feature.feature secure-stl : on off : propagated composite optional ; feature.compose <secure-stl>off : <define>_SECURE_SCL=0 <define>_CRT_SECURE_NO_DEPRECATE=1 <define>_SCL_SECURE_NO_DEPRECATE=1 <define>_CRT_NONSTDC_NO_DEPRECATE=1 ;
I wouldn't add _CRT_NONSTDC_NO_DEPRECATE to the feature because it isn't related to the *ms secure* functions but only deprecates posix named functions that have an iso c++ conformant named variant (according to the MSDN). Klaus Triendl