This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/45031] Problem with cxxabi.h



------- Comment #1 from redi at gcc dot gnu dot org  2010-07-22 14:44 -------
(In reply to comment #0)
> I have OpenSuse with ia64 architecture and GCC 4.3.3 (I tried also with GCC
> 4.4.0 and 4.4.4)
> I am trying building a file that include the cxxabi.h header, but the compiler
> displays following error:
> 
> In file included from ../src/core/callback.cc:41:
> /bin/gcc/gcc-4.3.3/lib/gcc/ia64-suse-linux/4.3.3/../../../../include/c++/4.3.3/cxxabi.h:68:
> error: typedef 'ns3::__cxxabiv1::__cxa_cdtor_return_type' is initialized (use
> __typeof__ instead)

Looks as though you are including the header inside namespace ns3, that's not
valid.

Please provide a complete (minimal) testcase and the compiler command you are
using.



> /bin/gcc/gcc-4.3.3/lib/gcc/ia64-suse-linux/4.3.3/../../../../include/c++/4.3.3/cxxabi.h:68:
> error: '__cxa_cdtor_type' was not declared in this scope
> /bin/gcc/gcc-4.3.3/lib/gcc/ia64-suse-linux/4.3.3/../../../../include/c++/4.3.3/cxxabi.h:73:
> error: '__cxa_cdtor_type' has not been declared
> /bin/gcc/gcc-4.3.3/lib/gcc/ia64-suse-linux/4.3.3/../../../../include/c++/4.3.3/cxxabi.h:74:
> error: '__cxa_cdtor_type' has not been declared
> /bin/gcc/gcc-4.3.3/lib/gcc/ia64-suse-linux/4.3.3/../../../../include/c++/4.3.3/cxxabi.h:78:
> error: '__cxa_cdtor_type' has not been declared
> /bin/gcc/gcc-4.3.3/lib/gcc/ia64-suse-linux/4.3.3/../../../../include/c++/4.3.3/cxxabi.h:79:
> error: '__cxa_cdtor_type' has not been declared
> /bin/gcc/gcc-4.3.3/lib/gcc/ia64-suse-linux/4.3.3/../../../../include/c++/4.3.3/cxxabi.h:84:
> error: '__cxa_cdtor_type' has not been declared
> /bin/gcc/gcc-4.3.3/lib/gcc/ia64-suse-linux/4.3.3/../../../../include/c++/4.3.3/cxxabi.h:85:
> error: '__cxa_cdtor_type' has not been declared
> /bin/gcc/gcc-4.3.3/lib/gcc/ia64-suse-linux/4.3.3/../../../../include/c++/4.3.3/cxxabi.h:89:
> error: '__cxa_vec_ctor_return_type' does not name a type
> /bin/gcc/gcc-4.3.3/lib/gcc/ia64-suse-linux/4.3.3/../../../../include/c++/4.3.3/cxxabi.h:94:
> error: '__cxa_vec_ctor_return_type' does not name a type
> /bin/gcc/gcc-4.3.3/lib/gcc/ia64-suse-linux/4.3.3/../../../../include/c++/4.3.3/cxxabi.h:103:
> error: '__cxa_cdtor_type' has not been declared
> /bin/gcc/gcc-4.3.3/lib/gcc/ia64-suse-linux/4.3.3/../../../../include/c++/4.3.3/cxxabi.h:107:
> error: '__cxa_cdtor_type' has not been declared
> /bin/gcc/gcc-4.3.3/lib/gcc/ia64-suse-linux/4.3.3/../../../../include/c++/4.3.3/cxxabi.h:112:
> error: '__cxa_cdtor_type' has not been declared
> /bin/gcc/gcc-4.3.3/lib/gcc/ia64-suse-linux/4.3.3/../../../../include/c++/4.3.3/cxxabi.h:116:
> error: '__cxa_cdtor_type' has not been declared
> /bin/gcc/gcc-4.3.3/lib/gcc/ia64-suse-linux/4.3.3/../../../../include/c++/4.3.3/cxxabi.h:121:
> error: '__cxa_cdtor_type' has not been declared
> /bin/gcc/gcc-4.3.3/lib/gcc/ia64-suse-linux/4.3.3/../../../../include/c++/4.3.3/cxxabi.h:125:
> error: '__guard' was not declared in this scope
> /bin/gcc/gcc-4.3.3/lib/gcc/ia64-suse-linux/4.3.3/../../../../include/c++/4.3.3/cxxabi.h:125:
> error: expected primary-expression before ')' token
> /bin/gcc/gcc-4.3.3/lib/gcc/ia64-suse-linux/4.3.3/../../../../include/c++/4.3.3/cxxabi.h:128:
> error: variable or field '__cxa_guard_release' declared void
> /bin/gcc/gcc-4.3.3/lib/gcc/ia64-suse-linux/4.3.3/../../../../include/c++/4.3.3/cxxabi.h:128:
> error: '__guard' was not declared in this scope
> /bin/gcc/gcc-4.3.3/lib/gcc/ia64-suse-linux/4.3.3/../../../../include/c++/4.3.3/cxxabi.h:128:
> error: expected primary-expression before ')' token
> /bin/gcc/gcc-4.3.3/lib/gcc/ia64-suse-linux/4.3.3/../../../../include/c++/4.3.3/cxxabi.h:131:
> error: variable or field '__cxa_guard_abort' declared void
> /bin/gcc/gcc-4.3.3/lib/gcc/ia64-suse-linux/4.3.3/../../../../include/c++/4.3.3/cxxabi.h:131:
> error: '__guard' was not declared in this scope
> /bin/gcc/gcc-4.3.3/lib/gcc/ia64-suse-linux/4.3.3/../../../../include/c++/4.3.3/cxxabi.h:131:
> error: expected primary-expression before ')' token
> 
> Can you help me?
> 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45031


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]