This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Converting tm.h macros to functions


On Tue, 19 Jun 2001, Fergus Henderson wrote:

> #define asm_output_int(i,f) (*target.asm_stuff.asm_output_int)((i),(f))

-Wtraditional warns about function-like macro names used without
arguments, so there might be problems there.  Besides, the less hidden use
of the preprocessor, the clearer the compiler code is.

-- 
Joseph S. Myers
jsm28@cam.ac.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]