<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On Apr 29, 2014, at 4:42 PM, G M <<a href="mailto:gmisocpp@gmail.com">gmisocpp@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div>Hi Marshall</div><div><br></div><div>I'm just drawing your attention to this since I think you might have missed it in your lists inbox.</div><div>I probably should have just posted it here to begin with. Sorry.</div></div></blockquote><div><br></div></div><div>Actually, I did see it; but it took me a couple days to get a 4.9 install.</div><div>But thanks for sending it to me and posting it here.</div><div><br></div><div>— Marshall</div><div><br></div><div><br></div><div><blockquote type="cite"><div dir="ltr">
<div><br></div><div>Thanks<br><br></div><div class="gmail_quote">---------- Forwarded message ----------<br><br><br><div dir="ltr"><div>Hi Marshall</div><div><br></div><div>I thought you might want to know that libcxx has stopped being buildable with g++ as of 4.9.0.</div>
<div>The error output of the build is shown below.</div><div><br>
</div><div>The main error is:</div><div><br></div><div>c:/libcxx/include/string:1895:1: error: inlining failed in call to always_inline 'std::__1::basic_string<_CharT, _Traits,<br>_Allocator>::basic_string() [with _CharT = char; _Traits = std::__1::char_traits<char>; _Allocator = std::__1::allocator<c<br>
har>]': function body not available</div><div><br></div><div>Look for it in the full error output shown below.</div><div><br></div><div>If you need me to try out a patch, let me know. Sorry if I end up being a little slow in replying though, I don't always follow so closely these days.</div>
<div>If I don't hear anything in a day or two, I'll post this on cfe-dev, assuming you've missed this email in the list deluge.</div><div><br></div><div>Thanks.</div><div><br></div><div><br></div><div>c:\libcxx_build>ninja<br>
[10/29] Building CXX object lib/CMakeFiles/cxx.dir/__/src/exception.cpp.obj<br>c:/libcxx/src/exception.cpp:118:9: warning: #warning is a GCC extension<br> # warning uncaught_exception not yet implemented<br> ^<br>
c:/libcxx/src/exception.cpp:118:9: warning: #warning uncaught_exception not yet implemented [-Wcpp]<br>c:/libcxx/src/exception.cpp:191:9: warning: #warning is a GCC extension<br> # warning exception_ptr not yet implemented<br>
^<br>c:/libcxx/src/exception.cpp:191:9: warning: #warning exception_ptr not yet implemented [-Wcpp]<br>c:/libcxx/src/exception.cpp:210:9: warning: #warning is a GCC extension<br> # warning exception_ptr not yet implemented<br>
^<br>c:/libcxx/src/exception.cpp:210:9: warning: #warning exception_ptr not yet implemented [-Wcpp]<br>c:/libcxx/src/exception.cpp:235:9: warning: #warning is a GCC extension<br> # warning exception_ptr not yet implemented<br>
^<br>c:/libcxx/src/exception.cpp:235:9: warning: #warning exception_ptr not yet implemented [-Wcpp]<br>c:/libcxx/src/exception.cpp:279:9: warning: #warning is a GCC extension<br> # warning exception_ptr not yet implemented<br>
^<br>c:/libcxx/src/exception.cpp:279:9: warning: #warning exception_ptr not yet implemented [-Wcpp]<br>c:/libcxx/src/exception.cpp:301:9: warning: #warning is a GCC extension<br> # warning exception_ptr not yet implemented<br>
^<br>c:/libcxx/src/exception.cpp:301:9: warning: #warning exception_ptr not yet implemented [-Wcpp]<br>[22/29] Building CXX object lib/CMakeFiles/cxx.dir/__/src/ios.cpp.obj<br>FAILED: \mingw\bin\g++.exe -pipe -march=native -O3 -fno-exceptions -std=c++1y -nostdinc++ -std=c++0x -Werror=return-typ<br>
e -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-long-long -Wno-error -pedantic -D_DEBUG -UNDEBUG -D_LIBCPP_BUILD_STA<br>TIC -O3 -DNDEBUG -Ic:/libcxx/include -MMD -MT lib/CMakeFiles/cxx.dir/__/src/ios.cpp.obj -MF "lib/CMakeFiles/cxx.dir/__/src<br>
/ios.cpp.obj.d" -o lib/CMakeFiles/cxx.dir/__/src/ios.cpp.obj -c c:/libcxx/src/ios.cpp<br>In file included from c:/libcxx/include/__locale:15:0,<br> from c:/libcxx/include/ios:216,<br> from c:/libcxx/src/ios.cpp:12:<br>
c:/libcxx/include/string: In member function '_InputIterator std::__1::num_get<_CharT, _InputIterator>::__do_get_signed(st<br>d::__1::num_get<_CharT, _InputIterator>::iter_type, std::__1::num_get<_CharT, _InputIterator>::iter_type, std::__1::ios_ba<br>
se&, std::__1::ios_base::iostate&, _Signed&) const [with _Signed = long int; _CharT = char; _InputIterator = std::__1::ist<br>reambuf_iterator<char, std::__1::char_traits<char> >; std::__1::num_get<_CharT, _InputIterator>::iter_type = std::__1::ist<br>
reambuf_iterator<char, std::__1::char_traits<char> >; std::__1::ios_base::iostate = unsigned int]':<br>c:/libcxx/include/string:1895:1: error: inlining failed in call to always_inline 'std::__1::basic_string<_CharT, _Traits,<br>
_Allocator>::basic_string() [with _CharT = char; _Traits = std::__1::char_traits<char>; _Allocator = std::__1::allocator<c<br>har>]': function body not available<br> basic_string<_CharT, _Traits, _Allocator>::basic_string()<br>
^<br>In file included from c:/libcxx/include/ostream:133:0,<br> from c:/libcxx/include/istream:156,<br> from c:/libcxx/src/ios.cpp:14:<br>c:/libcxx/include/locale:1006:12: error: called from here<br>
string __buf;<br> ^<br>[22/29] Building CXX object lib/CMakeFiles/cxx.dir/__/src/locale.cpp.obj<br>FAILED: \mingw\bin\g++.exe -pipe -march=native -O3 -fno-exceptions -std=c++1y -nostdinc++ -std=c++0x -Werror=return-typ<br>
e -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-long-long -Wno-error -pedantic -D_DEBUG -UNDEBUG -D_LIBCPP_BUILD_STA<br>TIC -O3 -DNDEBUG -Ic:/libcxx/include -MMD -MT lib/CMakeFiles/cxx.dir/__/src/locale.cpp.obj -MF "lib/CMakeFiles/cxx.dir/__/<br>
src/locale.cpp.obj.d" -o lib/CMakeFiles/cxx.dir/__/src/locale.cpp.obj -c c:/libcxx/src/locale.cpp<br>In file included from c:/libcxx/src/locale.cpp:18:0:<br>c:/libcxx/include/string: In function 'std::__1::string* std::__1::init_weeks()':<br>
c:/libcxx/include/string:1895:1: error: inlining failed in call to always_inline 'std::__1::basic_string<_CharT, _Traits,<br>_Allocator>::basic_string() [with _CharT = char; _Traits = std::__1::char_traits<char>; _Allocator = std::__1::allocator<c<br>
har>]': function body not available<br> basic_string<_CharT, _Traits, _Allocator>::basic_string()<br> ^<br>c:/libcxx/src/locale.cpp:4444:27: error: called from here<br> static string weeks[14];<br> ^<br>
[22/29] Building CXX object lib/CMakeFiles/cxx.dir/__/src/strstream.cpp.obj<br>c:/libcxx/src/strstream.cpp: In member function 'virtual std::__1::basic_streambuf<char>::pos_type std::__1::strstreambuf:<br>:seekoff(std::__1::basic_streambuf<char>::off_type, std::__1::ios_base::seekdir, std::__1::ios_base::openmode)':<br>
c:/libcxx/src/strstream.cpp:267:24: warning: 'newoff' may be used uninitialized in this function [-Wmaybe-uninitialized]<br> newoff += __off;<br> ^<br>[22/29] Building CXX object lib/CMakeFiles/cxx.dir/__/src/string.cpp.obj<br>
ninja: build stopped: subcommand failed.</div><p>c:\libcxx_build>popd</p><p>c:\Users\GM\Downloads>notepad2 c:/libcxx/include/__locale</p><p>c:\Users\GM\Downloads></p></div>
</div><br></div>
_______________________________________________<br>cfe-dev mailing list<br><a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev<br></blockquote></div><br></body></html>