On Mon, 14 Jun 2010 14:32:25 +0100, Melanie Rhianna Lewis
<cybersp...@php.net> wrote:
I know the ANSI C standard pretty well but I don't remember that at all
so rather than just accepting it I checked it on my Mac using a small
example. Compiler details are below:
kring:Development melanie$ gcc --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5657)
In my example static const did have internal linkage, const on its own
in the global scope did not. You still need static.
You're right. I'd checked it here:
http://publib.boulder.ibm.com/infocenter/iadthelp/v7r0/index.jsp?topic=/com.ibm.etools.iseries.langref.doc/as400clr16.htm
and some other place, but at least the C99 standard says otherwise.
--
Gustavo Lopes
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php