Skip to content

Commit

Permalink
build: Add /bigobj to MSVC flags
Browse files Browse the repository at this point in the history
Avoid test\extension\dynamic_image\algorithm\copy_and_convert_pixels.cpp
compilation error:

fatal error C1128: number of sections exceeded object file format limit: compile with /bigobj
  • Loading branch information
mloskot committed Jun 26, 2022
1 parent 89ae4b7 commit 85f01f9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions test/Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,18 @@ local msvc-cxxs-with-experimental-fs = 11 14 ;
project
:
requirements
<include>.
# TODO: Enable concepts check for all, not just test/core
#<define>BOOST_GIL_USE_CONCEPT_CHECK=1
<toolset>msvc,<cxxstd>$(msvc-cxxs-with-experimental-fs):<define>_SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING=1
[ requires
cxx11_constexpr
cxx11_defaulted_functions
cxx11_template_aliases
cxx11_trailing_result_types # implies decltype and auto
cxx11_variadic_templates
]
<include>.
# TODO: Enable concepts check for all, not just test/core
#<define>BOOST_GIL_USE_CONCEPT_CHECK=1
<toolset>msvc,<cxxstd>$(msvc-cxxs-with-experimental-fs):<define>_SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING=1
<toolset>msvc:<cxxflags>/bigobj
;

variant gil_ubsan_integer
Expand Down

0 comments on commit 85f01f9

Please sign in to comment.