* unnamed structures
@ 2004-03-24 9:49 Luiz Rafael Culik Guimaraes
0 siblings, 0 replies; 3+ messages in thread
From: Luiz Rafael Culik Guimaraes @ 2004-03-24 9:49 UTC (permalink / raw)
To: gcc-help
Dear Friends
i´ve getting an strage error on gcc 3.3.3
this code
typedef struct tag_xwt_gtk_base
{
GtkWidget *main_widget;
} XWT_GTK_BASE, *PXWT_GTK_BASE;
typedef struct tag_xwt_gtk_modal
{
#if __GNUC__ < 3
XWT_GTK_BASE a;
#else
XWT_GTK_BASE;
#endif
BOOL modal;
BOOL canceled;
} XWT_GTK_MODAL, *PXWT_GTK_MODAL;
this code is not accepted becouse the XWT_GTK_BASE return the compiler
defined noting
Regards
Luiz
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: unnamed structures
2003-07-22 21:47 Luiz Rafael Culik Guimaraes
@ 2003-07-23 14:36 ` LLeweLLyn Reese
0 siblings, 0 replies; 3+ messages in thread
From: LLeweLLyn Reese @ 2003-07-23 14:36 UTC (permalink / raw)
To: Luiz Rafael Culik Guimaraes; +Cc: gcc-help
"Luiz Rafael Culik Guimaraes" <culikr@uol.com.br> writes:
> Dear Friends
>
> Is their any swich for unnamed structures to compile on gcc 2.95.3
I believe they are enablied by default, but -ansi, -pedantic, and so
forth disable them.
^ permalink raw reply [flat|nested] 3+ messages in thread
* unnamed structures
@ 2003-07-22 21:47 Luiz Rafael Culik Guimaraes
2003-07-23 14:36 ` LLeweLLyn Reese
0 siblings, 1 reply; 3+ messages in thread
From: Luiz Rafael Culik Guimaraes @ 2003-07-22 21:47 UTC (permalink / raw)
To: gcc-help
Dear Friends
Is their any swich for unnamed structures to compile on gcc 2.95.3
Regards
Luiz
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-03-24 4:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-24 9:49 unnamed structures Luiz Rafael Culik Guimaraes
-- strict thread matches above, loose matches on Subject: below --
2003-07-22 21:47 Luiz Rafael Culik Guimaraes
2003-07-23 14:36 ` LLeweLLyn Reese
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).