This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc warnings


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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]