This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Making a struct field constant, when this struct is imported to a particular Cpp files


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]