[Boost-bugs] [Boost C++ Libraries] #7263: regex_traits [-Wnarrowing]

Subject: [Boost-bugs] [Boost C++ Libraries] #7263: regex_traits [-Wnarrowing]
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-08-22 23:48:43


#7263: regex_traits [-Wnarrowing]
-----------------------------------+----------------------------------------
 Reporter: steve.lemay@… | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: regex
  Version: Boost 1.51.0 | Severity: Problem
 Keywords: build gcc 4.7.1 c++11 |
-----------------------------------+----------------------------------------
 Boost 1.51 build issue for gcc 4.7.1/C++11 enabled. Issue repeats many
 times.

 qcc.compile.c++
 D:\boostBuild_QCC_1_51_0\boost\bin.v2\libs\regex\build\qcc\release\link-
 static\target-os-qnxnto\threadapi-pthread\threading-
 multi\cpp_regex_traits.o
 In file included from ./boost/regex/v4/regex_traits.hpp:39:0,
                  from ./boost/regex/regex_traits.hpp:27,
                  from libs\regex\build\..\src\cpp_regex_traits.cpp:22:
 ./boost/regex/v4/cpp_regex_traits.hpp: In instantiation of 'static
 boost::static_mutex& boost::cpp_regex_traits<charT>::get_mutex_inst()
 [with charT = char]':
 ./boost/regex/v4/cpp_regex_traits.hpp:1059:49: required from 'static
 std::string boost::cpp_regex_traits<charT>::get_catalog_name() [with charT
 = char; std::string = std::basic_string<char, std::char_traits<char>,
 std::allocator<char> >]'
 libs\regex\build\..\src\cpp_regex_traits.cpp:44:49: required from here
 ./boost/regex/v4/cpp_regex_traits.hpp:1069:34: warning: narrowing
 conversion of '2147483648u' from 'unsigned int' to 'int' inside { }
 [-Wnarrowing]

 ================= BJAM ==================

 bjam -a -q -j4 --prefix=%DRIVE%\boost --build-type=minimal --build-
 dir=%DRIVE%\boostBuild_QCC_%BOOSTVER% --layout=system toolset=qcc target-
 os=qnxnto threadapi=pthread --variant=release link=static threading=multi
 runtime-link=shared cxxflags="-DFD_SETSIZE=2048 -march=k8-sse3
 -mtune=k8-sse3 -mmmx -msse3 -mfpmath=sse -mno-3dnow -mstackrealign
 -Wc,-fPIC,-fnothrow-opt,-std=c++11,-std=gnu++11" --without-context
 --without-mpi --without-python install >build.log 2>&1

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7263>
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:10 UTC