Roland Mainz <[EMAIL PROTECTED]> wrote:

>
> Urgh. No, please don't make the storage qualifier (e.g. |const| vs.
> non-|const|) of a variable depend on the optimizer level. The results
> would be... uhm... not really good (for example the whole thing blows-up
> badly if you mix optimized code with unoptimizec code - we had such a
> little game years ago with C++ code compiled with gcc and it was a
> nightmare to debug and fix).

Gcc mostly ignores "const". This is a real portability problem as free software
uses "const" where it creates problems if you honor it.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to