Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 62577 invoked from network); 4 Apr 2007 13:09:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Apr 2007 13:09:09 -0000 Received: (qmail 38745 invoked by uid 500); 4 Apr 2007 13:09:15 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 38715 invoked by uid 500); 4 Apr 2007 13:09:15 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 38694 invoked by uid 99); 4 Apr 2007 13:09:15 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of Farid_Zaripov@epam.com designates 217.21.63.3 as permitted sender) Received: from [217.21.63.3] (HELO EPMSA009.epam.com) (217.21.63.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2007 06:09:14 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: [ boost-Bugs-1693867 ] errors when build with Apache stdcxx Date: Wed, 4 Apr 2007 16:08:22 +0300 Message-ID: <7BDB2168BEAEF14C98F1901FD2DE6438657596@epmsa009.minsk.epam.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ boost-Bugs-1693867 ] errors when build with Apache stdcxx Thread-Index: Acd2oD9U5yx/v1/hRoyGB3R20TFKxwAGffWA From: "Farid Zaripov" To: Cc: X-Virus-Checked: Checked by ClamAV on apache.org Bugs item #1693867, was opened at 2007-04-03 19:55 Message generated for change (Comment added) made by johnmaddock You can respond by visiting:=20 https://sourceforge.net/tracker/?func=3Ddetail&atid=3D107586&aid=3D169386= 7&gro up_id=3D7586 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: regex Group: None >Status: Closed >Resolution: Accepted Priority: 5 Private: No Submitted By: Farid (farid_zaripov) Assigned to: John Maddock (johnmaddock) Summary: errors when build with Apache stdcxx Initial Comment: I have been working on the Apache C++ Standard Library project (STDCXX): http://incubator.apache.org/stdcxx/ I've trying to compile the boost library with stdcxx. The details can be found here: http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-dev/200704.mbo x/% 3c7BDB2168BEAEF14C98F1901FD2DE64386573EB@epmsa009.minsk.epam.com%3e Boost version: 1.33.1 STDCXX version: 4.2 I've got the following errors in boost/regex/v4/regex_workaround.hpp and boost/regex/v4/fileiter.hpp: D:\_Libs\boost_1_33_1\boost/regex/v4/regex_workaround.hpp(145) : error C2653: 'stdext' : is not a class or namespace name D:\_Libs\boost_1_33_1\boost/regex/v4/regex_replace.hpp(44) : see reference to function template instantiation 'OutputIterator boost::re_detail::copy(InputIterat or,InputIterator,OutputIterator)' being compiled with [ =20 OutputIterator=3Dboost::re_detail::string_out_iterator, =20 BidirectionalIterator=3D__rw::__rw_debug_iter,std::allocator>,const char *,char *>, =20 InputIterator=3D__rw::__rw_debug_iter,std::allocator>,const char *,char *> ] D:\_Libs\boost_1_33_1\libs\regex\build\../src/cregex.cpp(446) : see reference to function template instantiation 'OutputIterator boost::regex_replace,__rw::__rw _debug_iter<_Container,_Iterator,_MutableIterator>,boost::regex_traits,char>(OutputIterator,BidirectionalIterator,BidirectionalIterator,c onst boost::basic_regex &,const charT *,boost::regex_constants::match_flag_type)' being compiled with [ =20 OutputIterator=3Dboost::re_detail::string_out_iterator, S=3Dstd::string, =20 _Container=3Dstd::basic_string,std::allocator= < char>>, _Iterator=3Dconst char *, _MutableIterator=3Dchar *, charT=3Dchar, =20 BidirectionalIterator=3D__rw::__rw_debug_iter,std::allocator>,const char *,char *>, traits=3Dboost::regex_traits ] D:\_Libs\boost_1_33_1\boost/regex/v4/regex_workaround.hpp(145) : error C3861: 'unchecked_copy': identifier not found D:\_Libs\boost_1_33_1\boost/regex/v4/regex_workaround.hpp(145) : error C2653: 'stdext' : is not a class or namespace name D:\_Libs\boost_1_33_1\boost/regex/v4/regex_replace.hpp(44) : see reference to function template instantiation 'OutputIterator boost::re_detail::copy(InputIterat or,InputIterator,OutputIterator)' being compiled with [ =20 OutputIterator=3Dboost::re_detail::string_out_iterator, BidirectionalIterator=3Dconst char *, InputIterator=3Dconst char * ] D:\_Libs\boost_1_33_1\libs\regex\build\../src/cregex.cpp(456) : see reference to function template instantiation 'OutputIterator boost::regex_replace,const char*,boost::regex_traits,char>(OutputIterator,BidirectionalItera tor,BidirectionalIterator,const boost::basic_regex &,const charT *,boost::regex_constants::match_flag_type)' being compiled with [ =20 OutputIterator=3Dboost::re_detail::string_out_iterator, S=3Dstd::string, charT=3Dchar, BidirectionalIterator=3Dconst char *, traits=3Dboost::regex_traits ] D:\_Libs\boost_1_33_1\boost/regex/v4/regex_workaround.hpp(145) : error C3861: 'unchecked_copy': identifier not found CALL "D:\Program Files\Microsoft Visual Studio 8\Common7\Tools\..\..\VC\bin\vcvars32.BAT" >nul=20 "D:\Program Files\Microsoft Visual Studio 8\Common7\Tools\..\..\VC\bin\cl" /Zm800 -nologo /EHsc -c -DBOOST_REGEX_CONFIG_INFO=3D1 -D_RWSTDDEBUG /Z7 /Od /Ob0 /EHsc /GR /MTd /Zc:forScope /Zc:wchar_t -I"bin\boost\libs\regex\build" -I"D:\_Projects\stdcxx_working\include" -I"D:\_Projects\stdcxx_working\include\ansi" -I"D:\_Projects\stdcxx_working\build\msvc-8.0\15s\include" -I"D:\_Libs\boost_1_33_1" -Fo"bin\boost\libs\regex\build\libboost_regex.lib\vc-8_0-stdcxx\debug\ru ntime-link-static\threading-multi\cregex.obj" -Tp"D:\_Libs\boost_1_33_1\libs\regex\build\../src/cregex.cpp"=20 D:\_Libs\boost_1_33_1\boost/regex/v4/fileiter.hpp(331) : error C2039: 'ptrdiff_t' : is not a member of 'std' D:\_Libs\boost_1_33_1\boost/regex/v4/fileiter.hpp(378) : error C2039: 'ptrdiff_t' : is not a member of 'std' CALL "D:\Program Files\Microsoft Visual Studio 8\Common7\Tools\..\..\VC\bin\vcvars32.BAT" >nul=20 "D:\Program Files\Microsoft Visual Studio 8\Common7\Tools\..\..\VC\bin\cl" /Zm800 -nologo /EHsc -c -DBOOST_REGEX_CONFIG_INFO=3D1 -D_RWSTDDEBUG /Z7 /Od /Ob0 /EHsc /GR /MTd /Zc:forScope /Zc:wchar_t -I"bin\boost\libs\regex\build" -I"D:\_Projects\stdcxx_working\include" -I"D:\_Projects\stdcxx_working\include\ansi" -I"D:\_Projects\stdcxx_working\build\msvc-8.0\15s\include" -I"D:\_Libs\boost_1_33_1" -Fo"bin\boost\libs\regex\build\libboost_regex.lib\vc-8_0-stdcxx\debug\ru ntime-link-static\threading-multi\fileiter.obj" -Tp"D:\_Libs\boost_1_33_1\libs\regex\build\../src/fileiter.cpp"=20 I propose to #include in fileiter.hpp to define the std::ptrdiff_t. And also I propose to change the line 131 in regex_workaround.hpp from #if BOOST_WORKAROUND(BOOST_MSVC,>=3D1400) to the #if BOOST_WORKAROUND(BOOST_MSVC,>=3D1400) && defined(BOOST_DINKUMWARE_STDLIB) ---------------------------------------------------------------------- >Comment By: John Maddock (johnmaddock) Date: 2007-04-04 10:01 Message: Logged In: YES user_id=3D14804 Originator: NO Will apply to cvs head: it's too late for 1.34 though I'm afraid :-( ---------------------------------------------------------------------- You can respond by visiting:=20 https://sourceforge.net/tracker/?func=3Ddetail&atid=3D107586&aid=3D169386= 7&gro up_id=3D7586