[cfe-dev] Errors compiling libc++
Ron Santos
ron.dls at gmail.com
Thu May 19 18:09:43 PDT 2011
Folks,
I just checked out libc++ revision 131708 a few minutes and tried to build
with clang 3.0.
$ clang++ -v
clang version 3.0 (trunk 131637)
Target: x86_64-apple-darwin10.7.0
Thread model: posix
I downloaded the helper libs and exported TRIPLE. I get the errors below.
Am I doing something wrong? Is this expected? Thanks for your help. I
want to play around with some C++0x features so I decided to use clang and
libc++.
- ron
$ ./buildit
+ for FILE in '../src/*.cpp'
+ clang++ -c -g -Os -arch i386 -arch x86_64 -std=c++0x -U__STRICT_ANSI__
-nostdinc++ -I../include ../src/algorithm.cpp
In file included from ../src/algorithm.cpp:11:
In file included from ../include/random:1645:
In file included from ../include/istream:156:
In file included from ../include/ostream:130:
In file included from ../include/ios:216:
../include/__locale:197:5: error: exception specification of overriding
function is more lax than base version
~collate();
^
../include/__locale:100:13: note: overridden virtual function is here
virtual ~facet();
^
../include/__locale:208:18: error: exception specification of overriding
function is more lax than base version
collate<_CharT>::~collate()
^
../include/__locale:100:13: note: overridden virtual function is here
virtual ~facet();
^
In file included from ../src/algorithm.cpp:11:
In file included from ../include/random:1645:
In file included from ../include/istream:156:
In file included from ../include/ostream:130:
../include/ios:591:13: error: exception specification of overriding function
is more lax than base version
virtual ~basic_ios();
^
../include/ios:295:13: note: overridden virtual function is here
virtual ~ios_base();
^
../include/ios:649:29: error: exception specification of overriding function
is more lax than base version
basic_ios<_CharT, _Traits>::~basic_ios()
^
../include/ios:295:13: note: overridden virtual function is here
virtual ~ios_base();
^
In file included from ../src/algorithm.cpp:11:
In file included from ../include/random:1645:
In file included from ../include/istream:156:
In file included from ../include/ostream:132:
../include/locale:710:5: error: exception specification of overriding
function is more lax than base version
~num_get() {}
^
../include/__locale:100:13: note: overridden virtual function is here
virtual ~facet();
^
In file included from ../src/algorithm.cpp:11:
In file included from ../include/random:1645:
In file included from ../include/istream:156:
In file included from ../include/ostream:132:
../include/locale:1457:5: error: exception specification of overriding
function is more lax than base version
~num_put() {}
^
../include/__locale:100:13: note: overridden virtual function is here
virtual ~facet();
^
In file included from ../src/algorithm.cpp:11:
In file included from ../include/random:1645:
In file included from ../include/istream:156:
In file included from ../include/ostream:132:
../include/locale:1885:5: error: exception specification of overriding
function is more lax than base version
~time_get() {}
^
../include/__locale:100:13: note: overridden virtual function is here
virtual ~facet();
^
In file included from ../src/algorithm.cpp:11:
In file included from ../include/random:1645:
In file included from ../include/istream:156:
In file included from ../include/ostream:132:
../include/locale:2550:5: error: exception specification of overriding
function is more lax than base version
~time_put() {}
^
../include/__locale:100:13: note: overridden virtual function is here
virtual ~facet();
^
In file included from ../src/algorithm.cpp:11:
In file included from ../include/random:1645:
In file included from ../include/istream:156:
In file included from ../include/ostream:132:
../include/locale:2684:5: error: exception specification of overriding
function is more lax than base version
~moneypunct() {}
^
../include/__locale:100:13: note: overridden virtual function is here
virtual ~facet();
^
In file included from ../src/algorithm.cpp:11:
In file included from ../include/random:1645:
In file included from ../include/istream:156:
In file included from ../include/ostream:132:
../include/locale:2855:5: error: exception specification of overriding
function is more lax than base version
~money_get() {}
^
../include/__locale:100:13: note: overridden virtual function is here
virtual ~facet();
^
In file included from ../src/algorithm.cpp:11:
In file included from ../include/random:1645:
In file included from ../include/istream:156:
In file included from ../include/ostream:132:
../include/locale:3386:5: error: exception specification of overriding
function is more lax than base version
~money_put() {}
^
../include/__locale:100:13: note: overridden virtual function is here
virtual ~facet();
^
In file included from ../src/algorithm.cpp:11:
In file included from ../include/random:1645:
In file included from ../include/istream:156:
In file included from ../include/ostream:132:
../include/locale:3551:5: error: exception specification of overriding
function is more lax than base version
~messages() {}
^
../include/__locale:100:13: note: overridden virtual function is here
virtual ~facet();
^
12 errors generated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110519/2111157f/attachment.html>
More information about the cfe-dev
mailing list