public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Using -traditional in EXTRA_AFLAGS
@ 2007-10-25  3:16 Glauber de Oliveira Costa
  2007-10-25 15:17 ` Jeremy Fitzhardinge
  0 siblings, 1 reply; 4+ messages in thread
From: Glauber de Oliveira Costa @ 2007-10-25  3:16 UTC (permalink / raw)
  To: Linux Kernel Mailing List, Jeremy Fitzhardinge

Guys,

is there any particular reason we're using -traditional in
EXTRA_AFLAGS in Makefiles?

According to
http://gcc.gnu.org/onlinedocs/cpp/Traditional-macros.html#Traditional-macros,
(and to my painful recent experience), it disallows the use of token
pasting in pre-processor macros, which is a functionality we heavily
rely upon for the rest of kernel things.

I'd suggest just removing it, but obviously, there might well be
people with good reasons for it to stay (The same effect of token
pasting can be achieved in some ways, so if -traditional stays, that's
not the greatest problem in the world... just that token pasting in
asm files will diverge from the way in which we (-)traditionally do
;-) )

So, does any one have a word on that?
-- 
Glauber de Oliveira Costa.
"Free as in Freedom"
http://glommer.net

"The less confident you are, the more serious you have to act."

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-10-25 18:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-25  3:16 Using -traditional in EXTRA_AFLAGS Glauber de Oliveira Costa
2007-10-25 15:17 ` Jeremy Fitzhardinge
2007-10-25 15:21   ` Glauber de Oliveira Costa
2007-10-25 18:55     ` Denys Vlasenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox