Mike, you wrote to Erik Warmelink :
MP> I normally just type g++ file.cpp -o file. I guess I should
MP> start using -Wall to really check for portability. I'll
MP> check to see how it's done with Borland C++, too.
I _have_ to use -Wall, because my code is very sloppy. I prefer a warning by
the compiler to a debugging session, I have enough of those even when I do.
;-)
If you want to check on portability the -ansi switch also helps a lot. But
even using that the compiler doesn't know that other compiler have short ints
as their default ints etc..
Bye,
Erik
---
---------------
* Origin: WarmelinkE@vertis.nl (2:282/1.60)
|