Keith M Wesolowski wrote:
> On Thu, Mar 15, 2007 at 04:28:50AM +0100, Roland Mainz wrote:
> > AFAIK Sun Workshop/Forte/Studio don't have such a warning... but AFAIK
> > gcc has "-Wwrite-strings" ... :-)
> 
> I assume by the smiley that you're joking.

Erm, no. I just looked at the gcc documentation and did a small test. I
didn't checked whether it works with any larger projects... ;-(

> This warning flag is
> rather sad; between functions and structures in system headers having
> incorrect prototypes and adherence to standards that don't allow
> 'const', this ends up triggering a flood of false positives.  While
> technically correct, it's not very useful.

Grumpf... ;-( 
... Ok... seems we're down to two options again: "lint" (which doesn't
seems to be able to catch all problems) and "Coverity"/"Klockworks"
(commercial products) ... ;-(

----

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

Reply via email to