POV-Ray : Newsgroups : povray.off-topic : A puzzle about C (and probably C++)... : Re: A puzzle about C (and probably C++)... Server Time
3 Sep 2024 11:21:08 EDT (-0400)
  Re: A puzzle about C (and probably C++)...  
From: Darren New
Date: 17 Feb 2011 14:33:26
Message: <4d5d7806@news.povray.org>
Le_Forgeron wrote:
> IBM extension: When you use zero-extent member in a union, it must be
> the last "field".

OK. A clarification:  When any order of the elements is permissible, when 
does it make a difference what order you declare them in?

Also, obviously, if you can only initialize the first field and there's a 
specific field you want to initialize, it has to be first. (But you're right 
that it has something to do with initialization.)

-- 
Darren New, San Diego CA, USA (PST)
  "How did he die?"   "He got shot in the hand."
     "That was fatal?"
          "He was holding a live grenade at the time."


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.