Anonymous Unions in GCC under QNX

Anyone know how to activate anonymous unions in GCC under QNX?
(This is C, not C++).
They work find in GCC under Linux, but qcc/gcc under QNX complains
about them. Any suggestions?
Thanks,
Randy Hyde

Using what version of gcc on Linux?

chris


Randall Hyde <randall.nospam.hyde@ustraffic.net> wrote:

Anyone know how to activate anonymous unions in GCC under QNX?
(This is C, not C++).
They work find in GCC under Linux, but qcc/gcc under QNX complains
about them. Any suggestions?
Thanks,
Randy Hyde
\


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

“Chris McKillop” <cdm@qnx.com> wrote in message
news:b09npi$12u$1@nntp.qnx.com

Using what version of gcc on Linux?

chris

I think it’s 2.9x but I’ll have to wait until I get home to check it.
It came with Red Hat 7.1.
Randy Hyde

Actually, anonymous unions are a feature of C++.
Such are the dangers of using a compiler that processes
both C and C++ (like GCC).
Randy Hyde

“Randall Hyde” <randall.nospam.hyde@ustraffic.net> wrote in message
news:b09mhv$2i2$1@inn.qnx.com

Anyone know how to activate anonymous unions in GCC under QNX?
(This is C, not C++).
They work find in GCC under Linux, but qcc/gcc under QNX complains
about them. Any suggestions?
Thanks,
Randy Hyde