[Boost-bugs] [Boost C++ Libraries] #7985: regex fails to compile on AIX7 XLC11 with _LARGE_FILES support

Subject: [Boost-bugs] [Boost C++ Libraries] #7985: regex fails to compile on AIX7 XLC11 with _LARGE_FILES support
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-05 22:21:08


#7985: regex fails to compile on AIX7 XLC11 with _LARGE_FILES support
------------------------------------------------------+---------------------
 Reporter: Kevin Burge <kevin.burge@…> | Owner: johnmaddock
     Type: Support Requests | Status: new
Milestone: To Be Determined | Component: regex
  Version: Boost 1.53.0 | Severity: Problem
 Keywords: |
------------------------------------------------------+---------------------
 AIX version: 7100.01.05.1228
 VACPP version: 11.1.0.12

 When compiling the regex library with vacpp toolset, with -D_LARGE_FILES
 defined, the attached output is received. Note: I normally have many
 other compiler switches specified, but I narrowed it down to this switch
 that was causing compilation to fail. I cannot figure out why large file
 support would cause this to break, but, it has been my experience that the
 macros that are defined whenever large file support is turn on, on AIX,
 wreaks havoc in a lot of code (we frequently have to customize libraries
 to get them to build correctly because of this.)

 Creating this ticket because I cannot figure out how this switch
 ultimately affects std::basic_string usage in the regex library. (Note: I
 am able to bypass the error by specifying all of the template parameters
 to std::basic_string here, but this inevitably causes the same "not enough
 template parameters" to pop up elsewhere.)


     - has_icu builds : no
 ...
 vacpp.compile.c++
 ../../../bin.v2/libs/regex/build/vacpp/debug/c_regex_traits.o
 vacpp.compile.c++
 ../../../bin.v2/libs/regex/build/vacpp/debug/cpp_regex_traits.o
 vacpp.compile.c++ ../../../bin.v2/libs/regex/build/vacpp/debug/cregex.o
 "../../../boost/regex/v4/sub_match.hpp", line 365.26: 1540-0711 (S) Too
 few template arguments have been specified.
 "../../../boost/regex/v4/sub_match.hpp", line 374.26: 1540-0711 (S) Too
 few template arguments have been specified.
 "../../../boost/regex/v4/sub_match.hpp", line 400.26: 1540-0711 (S) Too
 few template arguments have been specified.
 "../../../boost/regex/v4/sub_match.hpp", line 409.26: 1540-0711 (S) Too
 few template arguments have been specified.
 "../../../boost/regex/v4/sub_match.hpp", line 418.26: 1540-0711 (S) Too
 few template arguments have been specified.
 "../../../boost/regex/v4/regex_format.hpp", line 1129.26: 1540-0711 (S)
 Too few template arguments have been specified.
 "../../../boost/regex/v4/basic_regex.hpp", line 484.22: 1540-0711 (S) Too
 few template arguments have been specified.
 "../../../boost/regex/v4/match_results.hpp", line 73.39: 1540-0711 (S) Too
 few template arguments have been specified.
 "../../../boost/regex/v4/regex_replace.hpp", line 73.19: 1540-0711 (S) Too
 few template arguments have been specified.
 "../../../boost/regex/v4/regex_merge.hpp", line 54.50: 1540-0711 (S) Too
 few template arguments have been specified.
 "../../../boost/regex/v4/regex_merge.hpp", line 61.26: 1540-0711 (S) Too
 few template arguments have been specified.
 "../../../boost/regex/v4/regex_merge.hpp", line 70.26: 1540-0711 (S) Too
 few template arguments have been specified.

     xlC -c -DBOOST_ALL_NO_LIB=1 -DBOOST_REGEX_DYN_LINK=1 -qcpluscmt
 -qNOOPTimize -qnoinline -g -qfullpath -qfuncsect -qeh -qrtti -I"../../.."
 -o "../../../bin.v2/libs/regex/build/vacpp/debug/cregex.o"
 "../../../libs/regex/build/../src/cregex.cpp"

 ...failed vacpp.compile.c++
 ../../../bin.v2/libs/regex/build/vacpp/debug/cregex.o...
 vacpp.compile.c++ ../../../bin.v2/libs/regex/build/vacpp/debug/fileiter.o
 vacpp.compile.c++ ../../../bin.v2/libs/regex/build/vacpp/debug/icu.o

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