Opened 7 years ago
Last modified 7 years ago
#11849 new Bugs
-DBOOST_TYPEOF_EMULATION is not needed for scope_exit/run-vaseq test with Oracle studio 12.5
Reported by: | Owned by: | Lorenzo Caminiti | |
---|---|---|---|
Milestone: | To Be Determined | Component: | scope_exit |
Version: | Boost 1.59.0 | Severity: | Problem |
Keywords: | Cc: |
Description
-DBOOST_TYPEOF_EMULATION is no longer needed for scope_exit/run-vaseq tests for Oracle studio 12.5
solution: line 11-18 of Jamfile.v2 of scope_exit/test: 11:rule run-vaseq ( command target ) 12:{ 13: # Sun does not automatically detect type-of emulation mode (force it). 14: run $(target).cpp : : : <toolset>sun: <define>BOOST_TYPEOF_EMULATION ; 15: run $(target)_seq.cpp : : : <toolset>sun: <define>BOOST_TYPEOF_EMULATION ; 16: run $(target)_seq_nova.cpp : : : 17: <toolset>sun:<define>BOOST_TYPEOF_EMULATION ; 18}
remove line 13: remove <toolset>sun:<define>BOOST_TYPEOF_EMULATION ; for $(target), $(target)_seq and $(target)_seq_nova tests. rule run-vaseq ( command target ) {
run $(target).cpp : : : ; run $(target)_seq.cpp : : : ; run $(target)_seq_nova.cpp : : : ;
}
Please see PR https://github.com/boostorg/scope_exit/pull/2