This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problems compiling - gcc Command line arguments
- To: aewhale at hky dot com
- Subject: Re: Problems compiling - gcc Command line arguments
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Thu, 30 Dec 1999 16:35:01 +0100
- CC: gcc at gcc dot gnu dot org
- References: <386B651C.5C448C1C@access.hky.com>
> I am currently involved in a Migration Project. When I am compiling the
> source code, I am getting the following Warning statements which appear
> incocluous, but also prohibit the compilation process.
Warnings don't prohibit the compilation process; the compiler only
stops on errors. As for the specific warnings that you see: They look
like real problems in your code, and you should investigate them,
instead of turning them off.
> What is important to note here, is that there are no errors in the
> software whenever it is compiled on a Non-Linux box. What command line
> options can I provide to the gcc compiler to reduce the number of
> warnings and get it to behave more like other compilers?
If you want no warnings, you can give the -w option. There is no other
flag to turn off this specific warning.
Regards,
Martin