Subject: [Boost-bugs] [Boost C++ Libraries] #3141: Typos in used configuration macros for typeof support cause incorrect behavior
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-06-06 11:57:04
#3141: Typos in used configuration macros for typeof support cause incorrect
behavior
-------------------------------------------------------------------------------------------------+
Reporter: v_gevorg_at_yahoo,com | Owner: eric_niebler
Type: Bugs | Status: new
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 |
-------------------------------------------------------------------------------------------------+
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.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3141> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC