math.h: Warn about an already-defined log macro
authorFlorian Weimer <fweimer@redhat.com>
Mon, 4 Sep 2017 08:52:28 +0000 (10:52 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 4 Sep 2017 15:56:31 +0000 (17:56 +0200)
commitb38042f51430974642616a60afbbf96fd0b98659
treec729d45879af209b07ee0d3c30a4c83840f3540c
parent059b64046e2ca4e55d28a65ef7235da8eeb525ea
math.h: Warn about an already-defined log macro

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.
ChangeLog
math/math.h