[EMAIL PROTECTED] wrote: > > Sometimes it is used: > > find usr/src/ -name "Make*" | xargs grep -i strconst
The problem is that it isn't used everywhere and that (much more worse) we have to set "-xstrconst" explicitly all the time. The Sun WorkShop/Forte/Studio default to make string literals writeable _seriously_ damages the resource usage for (IMO) zero benefit for almost all applications. IMO the default should be changed as soon as possible since most software vendors which provide their applications on many platforms will usually use gcc which forces them to treat string literals as read-only (since gcc 4.x the old "make strings writeable"-option is gone) and the current default of Sun Studio is therefore contraproductive (and a violation of the ISO/ANSI standard (per gcc people)). ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) [EMAIL PROTECTED] \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;) _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
