Opened 13 years ago

Closed 13 years ago

#3141 closed Bugs (fixed)

Typos in used configuration macros for typeof support cause incorrect behavior

Reported by: v_gevorg@… Owned by: Eric Niebler
Milestone: To Be Determined Component: xpressive
Version: Boost 1.39.0 Severity: Problem
Keywords: typeof typo BOOST_TYPEOF_COMPLIANT BOOST_NO_STD_LOCALE incorrect configuration test Cc:

Description

I've found two problematic typos in xpressive's typeof support. The first is xpressive/xpressive_typeof.hpp:19 #ifndef BOOST_NO_STL_LOCALE Should be #ifndef BOOST_NO_STD_LOCALE This typo will cause the compilation of xpressive/xpressive_typeof.hpp to fail if boost.config defines BOOST_NO_STD_LOCALE. The second is in both libs\xpressive\test\test_typeof.cpp:9 and libs\xpressive\test\test_typeof2.cpp:9 #define BOOST_TYPEOF_COMPILANT Should be #define BOOST_TYPEOF_COMPLIANT This typo will cause the native typeof to be tested on compilers which provide native support, rather than the intended emulation mode.

Change History (1)

comment:1 by Eric Niebler, 13 years ago

Resolution: fixed
Status: newclosed

(In [53695]) typef typeos, fixes #3141

Note: See TracTickets for help on using tickets.