This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Making a struct field constant, when this struct is imported to a particular Cpp files
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 12 Nov 2009 21:32:22 +0000
- Subject: Re: Making a struct field constant, when this struct is imported to a particular Cpp files
- References: <26318895.post@talk.nabble.com> <20091112140302.GG22281@axel>
Axel Freyn wrote:
> Hi Ansis,
>
> first: you should use gcc-help@gcc.gnu.org for questions like this...
Indeed. However, from the gcc@ point of view:
> Yes, this approach is save.
No, not remotely, and everyone on this list already knows why (or ought to
after a few moments thought, or else they're probably on the wrong list), so
I'll just point it out here for the record. Anyone stumbling across this in
the archives can go check the reply on gcc-help(*) if they want a detailed
explanation.
cheers,
DaveK
--
(*) - http://gcc.gnu.org/ml/gcc-help/2009-11/msg00144.html