error: template with C linkage
error: template with C linkage
- Subject: error: template with C linkage
- From: Dave Camp <email@hidden>
- Date: Thu, 15 Jul 2004 16:59:23 -0700
I'm getting a lot of errors like the following in my project (I'm
porting a Windows app....)
/usr/include/gcc/darwin/3.3/c++/bits/localefwd.h:90: error: template
with C linkage
/usr/include/gcc/darwin/3.3/c++/bits/functexcept.h:40: error: previous
declaration of `void std::__throw_bad_exception()' with C++ linkage
/usr/include/gcc/darwin/3.3/c++/bits/functexcept.h:40: error: conflicts
with new declaration with C linkage
[ repeats another 800 times... ]
I've done some google searching on those errors and I cannot seem to
find an explanation of what the compiler is unhappy about. I thought it
might be complaining about trying to use templates in a C file, but all
of my source files are .cpp files and I've also tried changing the
target settings to for C++ always on, but that did not help.
What is gcc trying to tell me?
Thanks,
Dave
---
It's not denial. I'm just very particular about the reality I choose to
accept. -Calvin
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.