This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Trying to build on DYNIX/ptx: 'strbuf' in cppcharset.c
Florian Weimer <fw@deneb.enyo.de> writes:
> On Mon, Sep 29, 2003 at 07:30:32PM +0200, Gaute B Strokkenes wrote:
>
>> All names beginning with `str' are reserved by the C standard anyway,
>> so strictly speaking one should not use that name in user code at
>> all. (I'm a bit fussy on these restrictions only apply to stuff with
>> external linkage, but why tempt fate anyway?)
>
> Anything starting with "str" can be a macro, AFAIK.
Only a function-like macro. "str" (like most other prefixes) is only
reserved for functions at file scope, not for structure tags.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."