Parens to avoid CPP macros in foreign imports

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Mon Apr 5 23:55:54 EDT 2004


W liście z pon, 05-04-2004, godz. 14:08 +0100, Ian Lynagh napisał:

> Enclosing the function name in parentheses hides it from cpp.
> With things as they are, cpp expanding macros can cause foreign imports
> to not generate code that gcc accepts.

Why doesn't it accept a macro call?

It's good to be able to use a macro. It can be faster than a function.

-- 
   __("<         Marcin Kowalczyk
   \__/       qrczak at knm.org.pl
    ^^     http://qrnik.knm.org.pl/~qrczak/



More information about the Cvs-ghc mailing list