> Thanks. I've turned on this warning in my build because the implicit
>> conversion can cause
>> hard-to-trace bugs.
>>
>
> Inappropriate explicit casts in the C code can also cause hard-to-trace
> bugs and explicit casts should be minimized.  I think that usually implicit
> type conversion should be preferred over many explicit casts.  Regardless,
> type conversion should be minimized as much as possible.
>

Absolutely agree - casts are a necessary evil :)

>
> Not all compiler warnings are intended to be enabled for normal use.
>
> Yes, I suppose I could disable the warning for production.

Aaron
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to