Mail Archives: djgpp/1994/04/26/18:17:02
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
- Raw text -