bug-gplusplus
[Top][All Lists]
Advanced

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

Re: its a bug - right


From: roger
Subject: Re: its a bug - right
Date: Mon, 11 Jun 2001 16:06:38 GMT
User-agent: Xnews/M3

Thanks for that detailed explanation. It is quite helpful.
I just have a follow up question or two...

>
>It will if you specify '-Wconversion'. As you point out,
>the warning appears in a C++ compile even if you don't
>specify that flag; I don't know why the behavior differs
>this way between C and C++ compiles.

Sigh, I was using gcc -Wall, which I though meant *all* warnings.
But no, apparantly it doesn't mean that anymore (didn't it used to?)
With -Wconversion I do see that warning.
Too bad I can't suppress it with -Wno-conversion in the g++ compile.


>
>> The sun C++ compiler doesn't warn about this construct either.
>
>The construct conforms to the standard, so no warning
>is required. 

Then it seems like there should be a way to supress it, no?

Thanks again.




reply via email to

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