* extar token question
@ 2002-06-18 11:41 raoul s
2002-06-18 11:48 ` Gokhan Kisacikoglu
0 siblings, 1 reply; 2+ messages in thread
From: raoul s @ 2002-06-18 11:41 UTC (permalink / raw)
To: gcc-help
i get extra token warning at the top line below when
compiling with gcc 64 bit . how to fix this?.
#ifdef DEBUG
#define IP_DEBUG
#endif DEBUG
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: extar token question
2002-06-18 11:41 extar token question raoul s
@ 2002-06-18 11:48 ` Gokhan Kisacikoglu
0 siblings, 0 replies; 2+ messages in thread
From: Gokhan Kisacikoglu @ 2002-06-18 11:48 UTC (permalink / raw)
To: raoul s, gcc-help
> #ifdef DEBUG
> #define IP_DEBUG
> #endif DEBUG
>
#ifdef DEBUG
#define IP_DEBUG
#endif // DEBUG
* but better;
#ifdef DEBUG
# ifndef IP_DEBUG
# define IP_DEBUG
# endif
#endif
Otherwise you will also get a warning for defining IP_DEBUG multiple
times.
This is really not a gcc question.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-06-18 18:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-18 11:41 extar token question raoul s
2002-06-18 11:48 ` Gokhan Kisacikoglu
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).