Geoffrey Irving
unread,Apr 4, 2014, 1:57:47 PM4/4/14Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to xdress, James Casbon
James: Were you seeing errors like this before using the clang
frontend? How did you end up solving them? I seem to see the same
errors with both clang 3.2 and master.
Geoffrey
-------------------------------------------------------------
xdress --rc geode/xdressrc.py --builddir
build/native/release/geode/xdress -p clang
--extra-parser-args=-std=c++11
autoall: discovering API names
autoall: no API names to discover!
dtypes: registering numpy dtypes
stlwrap: registering C++ standard library types
autodescribe: scraping C/C++ APIs from source
autodescribe: describing predicate_tests
['-x', 'c++', '-I/usr/local/lib/clang/3.4/include', '-I.', '-I.',
'-DXDRESS', '-std=c++11']
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/alloc_traits.h:57:35:
error: in-class initializer for static data member is not a constant
expression
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/alloc_traits.h:90:24:
error: type 'int' cannot be used prior to '::' because it has no
members
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/ext/alloc_traits.h:137:11:
error: using declaration refers into '_Base_type::', which is not a
base class of '__alloc_traits<int>'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/ext/alloc_traits.h:138:11:
error: using declaration refers into '_Base_type::', which is not a
base class of '__alloc_traits<int>'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/ext/alloc_traits.h:139:11:
error: using declaration refers into '_Base_type::', which is not a
base class of '__alloc_traits<int>'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/ext/alloc_traits.h:140:11:
error: using declaration refers into '_Base_type::', which is not a
base class of '__alloc_traits<int>'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/ext/alloc_traits.h:141:11:
error: using declaration refers into '_Base_type::', which is not a
base class of '__alloc_traits<int>'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_vector.h:80:16:
error: base specifier must name a class
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_vector.h:237:13:
error: using declaration refers into '_Base::', which is not a base
class of 'vector<double, std::allocator<double> >'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_vector.h:238:13:
error: using declaration refers into '_Base::', which is not a base
class of 'vector<double, std::allocator<double> >'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_vector.h:239:13:
error: using declaration refers into '_Base::', which is not a base
class of 'vector<double, std::allocator<double> >'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_vector.h:240:13:
error: using declaration refers into '_Base::', which is not a base
class of 'vector<double, std::allocator<double> >'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_vector.h:529:13:
error: using declaration refers into '_Base::', which is not a base
class of 'vector<double, std::allocator<double> >'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/alloc_traits.h:57:35:
error: in-class initializer for static data member is not a constant
expression
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_vector.h:80:16:
error: base specifier must name a class
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_vector.h:237:13:
error: using declaration refers into '_Base::', which is not a base
class of 'vector<unsigned int, std::allocator<unsigned int> >'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_vector.h:238:13:
error: using declaration refers into '_Base::', which is not a base
class of 'vector<unsigned int, std::allocator<unsigned int> >'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_vector.h:239:13:
error: using declaration refers into '_Base::', which is not a base
class of 'vector<unsigned int, std::allocator<unsigned int> >'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_vector.h:240:13:
error: using declaration refers into '_Base::', which is not a base
class of 'vector<unsigned int, std::allocator<unsigned int> >'
fatal error: too many errors emitted, stopping now [-ferror-limit=]
ERROR: failed to parse
build/native/release/geode/xdress/geode_exact_predicates.h.cpp
scons: *** [build/native/release/geode/xdress/blah] Error 1