On 23 March 2011 17:58, Lisp2D wrote:
>
> I've turned on all warnings to have clean program.
> Turn on -Wconversion but it will not care about BIG trouble in C++:
> conversion.
>
> class A{
> public:
> A(unsigned int){}
> };
>
> class B{
> public:
> B(A){}
> };
>
> B b(-1); //OK without warnin
B(FF..FF)
I want to see all program like:
B b(A(-1));
Which warning I must to set?
--
View this message in context:
http://old.nabble.com/-Wconversion-is-very-poor-tp3197p3197.html
Sent from the gcc - Dev mailing list archive at Nabble.com.