Re: gcc warnings

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

 



Humpolicek, Jiri - Acision wrote:

>             I have, from my point of view, strange problem. I want to tell gcc to report all compilation warnings, especially warnings about assigment from variable of greater type to variable with smaller type. For example, when I write following code and compile it with next command no warning is reported:
> 
> c++ -o test test.cpp -Wall -Wextra -Wconversion -pedantic
> 
You don't say anything about what problem you encounter, or what
platform you use.  Your source code doesn't look like a suitable
replacement for a test command which may be implemented in your shell,
so it would be simpler to choose a non-conflicting name.

[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