FW: Re: gcc and template

codaditasso@tiscali.it codaditasso@tiscali.it
Mon Nov 24 19:35:00 GMT 2003


I have used the mingw compiler under windows. Anyway with the g++ under
linux i have no problem.


>-- Messaggio Originale --
>Date: Mon, 24 Nov 2003 11:05:42 +0100
>From: Claudio Bley <bley@cs.uni-magdeburg.de>
>To: codaditasso@tiscali.it
>Cc: gcc-help@gcc.gnu.org
>Subject: Re: FW: Re: gcc and template
>
>
>On Sat, Nov 22, 2003 at 07:25:24PM +0100, codaditasso@tiscali.it wrote:
>
> Excuse for my inaccurasy in the previous E-mail. Anyway i have obtained
> from compiler the following log:
>
> --------------------Configuration: prova2 - Debug---------
>----------
> Compiling...
> prova8.cpp
> D:\Documenti\prova2\prova8.cpp: In function `void my_fun2() [with T =
float]':
> D:\Documenti\prova2\prova8.cpp:9:   instantiated from `void my_fun1()
[with
> T = float]'
> D:\Documenti\prova2\prova8.cpp:1
>:   instantiated from here
> D:\Documenti\prova2\prova8.cpp:14: warning: unused variable `float prova'
>
> prova8.o - 2 error(s), 1 warning(s)

What kind of build tool are you using? There's only a warning GCC graciously
issued, nothing more. Ho
> come there are a total of 2 errors for prova8.o
reported? Seems your build tool counts lines with line numbers and without

a "warning:" substring as an error??

--
Claudio Bley                                 ASCII ribbon campaign (")
Debian G
>U/Linux user                         - against HTML email  X
http://www.cs.uni-magdeburg.de/~bley/                     & vCards / \



__________________________________________________________________
Tiscali ADSL SENZA CANONE, paghi solo quando navighi!
E in più il modem e' GRATIS! Abbonati subito.
http://point.tiscali.it/adsl/index.shtml





More information about the Gcc-help mailing list