Joerg Schilling writes:
> > That would mean "the strchr function takes a pointer to character
> > argument, it does not modify the storage pointed to, and the value it
> > returns has the same storage qualifiers as the first argument."
> 
> If the #pragma only affects the storage attributes (as I intended with
> my proposal), I believe the #pragma is a good idea. I believe that this
> coild even be made an extension of Sun Studio to help the development
> of clean code.

Yep.  The only problem with it is that enabling it would also break
standards compliance, so it's a bit of a longer road getting it to be
used consistently.

-- 
James Carlson, KISS Network                    <[EMAIL PROTECTED]>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to