Opened 13 years ago

Closed 13 years ago

#3170 closed Bugs (fixed)

"Badly formed constant expression" errors with Sun compiler

Reported by: Jeremiah Willcock Owned by: No-Maintainer
Milestone: Boost 1.40.0 Component: preprocessor
Version: Boost 1.39.0 Severity: Problem
Keywords: Sun, preprocessor Cc:

Description

The regression test output at http://www.boost.org/development/tests/trunk/developer/output/Sandia-sun-boost-bin-v2-libs-graph-test-biconnected_components_test-test-sun-5-9-debug-stdlib-sun-stlport.html shows many errors related to Boost.Preprocessor. Are these a known bug? The slot tests for BPL itself pass on that same platform.

Change History (2)

comment:1 by Steven Watanabe, 13 years ago

This errors appears to come from the use of BOOST_PP_SUB inside BOOST_PP_ITERATION_PARAMS in phoenix. Hopefully I can get this fixed tomorrow, but no promises.

comment:2 by Steven Watanabe, 13 years ago

Resolution: fixed
Status: newclosed

(In [53869]) Use BOOST_PP_DEC instead of BOOST_PP_SUB for macros used inside BOOST_PP_ITERATE(). Fixes #3170.

Note: See TracTickets for help on using tickets.