This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: New bug in 3.4.1
>>>>> "Paul" == Paul Koning <pkoning@equallogic.com> writes:
Paul> A quick note while I try to come up with a reasonably small
Paul> testcase: I have a C++ file that fails to compile with 3.4.1
Paul> RC1. The error message is: error: template with C linkage
Paul> I stared at the *.ii file for a while to puzzle this out, but
Paul> the code seems correct.
Paul> The really strange part: if you delete all the file/line
Paul> markers, i.e., the # <line> <filename>... lines, then the error
Paul> message goes away and the program compiles correctly.
Paul> Furthermore, the problem does not occur in GCC 3.4.0.
I reduced it to a palatable size test case. Logged now as bug 16317.
paul