James G. Sack (jim) wrote:
> I wonder if compiler optimized use of const objects ever gets broken by
> one of those weird casts?
>   
In general, if a "const" variable gets modified midway through its
operation, the code generated by the compiler will have "problems". So,
casting away const isn't going to cause a problem, but modifying the
const'd variable can definitely cause problems.

--Chris

-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to