Menu

#88 typedef struct definition with two types

OnBoard_Asm
open
nobody
4
2006-08-09
2006-08-09
Ken Mankoff
No

The following does not compile:

typedef struct {

int fortytwo;

} foo, bar;

The error given is:

====================
Semi-colon expected
after typedef,line XX
(OK) (Goto)
-------------------

The dual-typed typedef does compile with other
non-onboard compilers.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB