From: "Gordon Hogenson" Date: Tue, 26 Apr 1994 14:54:53 -0700 References: <18000 DOT 199404261643 AT newton DOT cent DOT gla DOT ac DOT uk> To: Paul Harness , pasi AT forum DOT nullnet DOT fi, djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: Is this a bug ? On Apr 26, 5:43pm, Paul Harness wrote: > Subject: Is this a bug ? > Compiling the following code with: gcc -g -c test.cc > [template code deleted] > produces the output: > > C:\CPROGS\MATRIX>gcc -g -c test.cc > d:/cca00043:10: Error: Rest of line ignored. First ignored character is `<'. > > whereas use of gcc -c test.cc works ok. It appears (using -v) that the > error is caused by the assembler. Is this a bug, or is it my error ? Debugging information with templates isn't supported in GCC 2.5.7. You can request to be warned about (the lack of) template debugging by using -Wtemplate-debugging, which I believe you also get with '-Wall'. This should give you a somewhat friendlier error/warning than the screensful of errors you get from the assembler, as it will cause GCC to flag it... Gordon -- ---------------------------------------------------------------- Gordon J. Hogenson Tel. (206) 522-5664 home email: ghogenso AT u DOT washington DOT edu (206) 685-2951 work finger: gordon AT yrd DOT chem DOT washington DOT edu FAX: (206) 685-8665