[Bug c++/32734] bogus "template with C linkage" from erroneous #line directives
pitaman at austin dot rr dot com
gcc-bugzilla@gcc.gnu.org
Thu Jul 12 01:14:00 GMT 2007
------- Comment #3 from pitaman at austin dot rr dot com 2007-07-12 01:14 -------
zeus:~/projects/xerces-c-src_2_7_0 pitaman$ gcc fails.cpp
/usr/include/xercesc/util/XMLEnumerator.hpp:2: error: template with C linkage
zeus:~/projects/xerces-c-src_2_7_0 pitaman$ gcc succeeds.cpp
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32734
More information about the Gcc-bugs
mailing list