mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 13:02:11 +00:00
Made the Boost Build c++-template-depth feature be optional, thus avoiding a need to have each toolset module define its default value for this feature. This corrects a 'bug' with each such toolset module redefining the default value for all other toolsets as well. This also avoids a redundant command-line option from being passed to the compiler when this property is not specified.
[SVN r47884]
This commit is contained in:
@@ -156,10 +156,6 @@ feature.feature warnings-as-errors :
|
||||
# define some of the values here and leave it up to the user to extend this set
|
||||
# as he needs using the feature.extend rule.
|
||||
#
|
||||
# If a specific toolset requires a default value for this feature other than the
|
||||
# one defined here it should set the feature's default value using the
|
||||
# feature.set-default rule.
|
||||
#
|
||||
# TODO: This should be upgraded as soon as Boost Build adds support for custom
|
||||
# validated feature values or at least features allowing any positive integral
|
||||
# value. See related Boost Build related trac ticket #194.
|
||||
@@ -172,7 +168,7 @@ feature.feature c++-template-depth
|
||||
# conforming programs.
|
||||
17
|
||||
:
|
||||
incidental propagated ;
|
||||
incidental optional propagated ;
|
||||
|
||||
feature.feature source : : free dependency incidental ;
|
||||
feature.feature library : : free dependency incidental ;
|
||||
|
||||
@@ -80,7 +80,6 @@ flags qcc.compile INCLUDES <include> ;
|
||||
flags qcc.compile OPTIONS <link>shared : -shared ;
|
||||
|
||||
flags qcc.compile.c++ TEMPLATE_DEPTH <c++-template-depth> ;
|
||||
feature.set-default c++-template-depth : 100 ;
|
||||
|
||||
|
||||
actions compile.c++
|
||||
|
||||
Reference in New Issue
Block a user