Best flag to allow const T* to void* assignment?

Josh Stern jstern@citilink.com
Tue Jun 8 10:23:00 GMT 1999


I've noticed that a lot of random C++ code (including FSF code)
fails to compile now that assigning a pointer to some const type 
to a void* pointer is considered to be a const violation
( as is the case with current egcs snapshots).  What is the
most specific compiler option to relax this constraint?

Thanks,

- Josh

jstern@citilink.com




More information about the Gcc mailing list