Date: Wed, 20 Nov 1996 08:50:03 +0200 (IST) From: Eli Zaretskii To: Martin Gumucio Cc: djgpp AT delorie DOT com Subject: Re: list of djgpp compiler errors wanted! In-Reply-To: <32905cab.10273409@news.uu.se> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 19 Nov 1996, Martin Gumucio wrote: > gxx SAMPLE.CPP -o SAMPLE.EXE -lm > > and this came out of the compiler > utypomv.cpp: In function `int main()': > utypomv.cpp:10: warning: assignment to `int' from `double' > > it simply refuses to make me use type casting of any form. AFAIK, this is forbidden in C++ programs, and the compiler seems to say that I'm right. Compile your program as a C program, and you won't see such messages, since C allows such conversions. Rename your source to sample.c and call gcc like so: gcc sample.c -o sample.exe -lm > Where can i find a list of all djgpp compiler errorsmessages? There is no such list. But in this case (as in most other cases) the message is *very* clear, IMHO.