[Bug c++/32734] bogus "template with C linkage" from erroneous #line directives

2007-07-12 Thread pitaman at austin dot rr dot com
--- Comment #7 from pitaman at austin dot rr dot com 2007-07-12 21:56 --- Subject: Re: bogus "template with C linkage" from erroneous #line directives Good to know it. Thanks for the response. Alan On Jul 12, 2007, at 4:20 PM, pinskia at gcc dot gnu dot

[Bug c++/32734] bogus "template with C linkage" from erroneous #line directives

2007-07-12 Thread pitaman at austin dot rr dot com
--- Comment #5 from pitaman at austin dot rr dot com 2007-07-12 20:55 --- Subject: Re: bogus "template with C linkage" from erroneous #line directives That directory did not exist - once I had built Xerces I manually copied the files there. Alan On Jul 11, 2007,

[Bug c++/32734] bogus "template with C linkage" from erroneous #line directives

2007-07-11 Thread pitaman at austin dot rr dot com
--- 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

[Bug c++/32734] bogus "template with C linkage" from erroneous #line directives

2007-07-11 Thread pitaman at austin dot rr dot com
--- Comment #2 from pitaman at austin dot rr dot com 2007-07-12 01:14 --- Created an attachment (id=13893) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13893&action=view) minor tweaking of c++ preprocessor output which fixes the problem -- http://gcc.gnu.org/b

[Bug c++/32734] bogus "template with C linkage" from erroneous #line directives

2007-07-11 Thread pitaman at austin dot rr dot com
--- Comment #1 from pitaman at austin dot rr dot com 2007-07-12 01:13 --- Created an attachment (id=13892) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13892&action=view) simple C++ input file that shows the problem -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32734

[Bug c++/32734] New: bogus "template with C linkage" from erroneous #line directives

2007-07-11 Thread pitaman at austin dot rr dot com
template with C linkage" from erroneous #line directives Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pitaman a