This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/N] [x86_64] Vectorized math functions


On Wed, 19 Nov 2014, Andrew Senkevich wrote:

> +#ifndef FUNC_TEST
> +# define FUNC_TEST FUNC
> +#endif

Rather than #ifndef / #define (a discouraged design pattern in glibc, 
because it means that typos in the macro name in calling files would not 
be detected), I think it would be better to change all existing places 
defining FUNC to do:

#define FUNC_TEST(function) FUNC (function)

-- 
Joseph S. Myers
joseph@codesourcery.com


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