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] math.h: Warn about an already-defined log macro


On Mon, 4 Sep 2017, Florian Weimer wrote:

> This is a common programming error, and the cause of the problem is not
> always obvious.
> 
> <tgmath.h> defines a log macro, but it includes <math.h> before that, so
> that is compatible with the warning.
> 
> 2017-09-04  Florian Weimer  <fweimer@redhat.com>
> 
> 	* math/math.h: Issue warning if log is defined.

OK.

-- 
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]