bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] stdc.h: don't define __STRING for _FORTIFY_SOURCE


From: Andreas Schwab
Subject: Re: [PATCH] stdc.h: don't define __STRING for _FORTIFY_SOURCE
Date: Wed, 14 Nov 2012 23:48:12 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Christopher Larson <address@hidden> writes:

> Either we can add HAVE_STRINGIZE to mkbuiltins.c, assuming that all hosts we
> build on support stringize (but in that case, we might as well remove __STRING
> from stdc.h entirely, giving up on supporting non-stringize-capable
> compilers), or do this: don't define __STRING at all when _FORTIFY_SOURCE is
> defined.

__STRING is in the implementation's namespace, and the bash sources
should not use that name at all.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]