This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Impact of compiler warning message
- From: Arno Wilhelm <arno dot wilhelm at profile dot co dot at>
- To: jmc at alumni dot cs dot nthu dot edu dot tw
- Cc: gcc-help at gcc dot gnu dot org
- Date: Fri, 30 Jul 2004 09:33:55 +0200
- Subject: Re: Impact of compiler warning message
- Organization: proFILE Computersysteme GmbH
- References: <20040730071940.M78761@alumni.csie.ncu.edu.tw>
- Reply-to: arno dot wilhelm at profile dot co dot at
> Can anyone advise me, what is the impact of those Warning messages shown
> while compiling?
> Do warning messages have any effect to the program?
> For example, will more warning messages cause larger image/object size, or
> reduce the performance of compiler?
The warning messages itself do not have an impact on the program.
But the reason why the compiler gives the warn messages might have an impact on the program.
It is very hard to answer this question because there are a lot of different warning messages
during compiling and linking and it depends very much on the contents of the warning message itself.
Usually the warning messages have got a good reason and it is better to avoid them.
Arno