This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Converting tm.h macros to functions
- To: Fergus Henderson <fjh at cs dot mu dot oz dot au>
- Subject: Re: Converting tm.h macros to functions
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Tue, 19 Jun 2001 13:22:10 +0100 (BST)
- cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
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