Re: Impact of compiler warning message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Min-Chia Jiang wrote:

Hi there,

Can anyone advise me, what is the impact of those Warning messages shown while compiling?
Generally warnings are not severe as errors and compilers are able to handle this situation (conflicts where warnings shown). That is why they are proceeding further in the compilation process. This may result in different behavior than the user intended. For that reason only a notification is given to the user as a warning.

Do warning messages have any effect to the program?
Yes. For example when singed and unsigned operands are used in comparisons the compiler would report a sign mismatch between these operands. The generated output may behave differently than the user intended.

For example, will more warning messages cause larger image/object size, or reduce the performance of compiler?
Yes. The degree differs based on the situation.

Best Regards
M.C Jiang

Balaji S

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux