help-gplusplus
[Top][All Lists]
Advanced

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

Re: How generate a warning when int is converted to bool or bool is conv


From: address@hidden
Subject: Re: How generate a warning when int is converted to bool or bool is converted to int?
Date: 7 Apr 2006 06:38:23 -0700
User-agent: G2/0.2

neilsayshello@gmail.com wrote:
> Try using the -pedantic flag. It issues all the warnings demanded by
> strict ISO C and ISO C++, which should cover the type conversion

Actually this flag can not make g++ generate this kind of warning. Is
there anybody know the correct flag.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]