How to suppress errors in g++
Hani Ayoub
hani.ayoub@live.com
Thu Dec 4 15:22:00 GMT 2008
Brian D. McGrew-2 wrote:
>
> The short answer is no!
>
> If it's an error, that's a show stopper for gcc or g++. Means no go,
> can't
> continue, fix the code and try again!
>
> A warning is more of just something the compiler wants to alert you about
> that could be wrong, like the classic 'warning, comparison between signed
> and unsigned integers'.
>
> If you really, really need to make this kind of a conversion, try
> static_cast, const_cast or reinterpret_cast.
>
> -brian
>
>
> On 12/4/08 6:44 AM, "Hani Ayoub" <hani.ayoub@live.com> wrote:
>
>>
>> When I try to compile my code in g++ I get many of the following error:
>> invalid conversion from `void*' to `<somthing>'.
>>
>> My question is: How can I suppress this error?
>> And, shouldn't this message be a Warning and not an Error?
>>
>> Thanks!
>
> --
>
> Thanks!
>
>
--
View this message in context: http://www.nabble.com/How-to-suppress-errors-in-g%2B%2B-tp20834772p20835597.html
Sent from the gcc - Help mailing list archive at Nabble.com.
More information about the Gcc-help
mailing list