lua-users home
lua-l archive

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


hi

On Fri, Mar 17, 2006 at 01:55:19PM +0100, Mike Pall wrote:
> But the fix bears the question: is union assignment part of C89?
yep

3.3.16.1 Simple assignment

Constraints

   One of the following shall hold:/42/ 

 * the left operand has qualified or unqualified arithmetic type and
   the right has arithmetic type;

 * the left operand has a qualified or unqualified version of a
   structure or union type compatible with the type of the right;

...
(e.g. http://danpop.home.cern.ch/danpop/ansi.c)


cheers