]> The Tcpdump Group git mirrors - tcpdump/commit
Do not define __EXTENSIONS__ if already defined. [skip ci]
authorDenis Ovsienko <[email protected]>
Tue, 10 Aug 2021 09:18:19 +0000 (10:18 +0100)
committerDenis Ovsienko <[email protected]>
Wed, 29 Sep 2021 14:11:01 +0000 (15:11 +0100)
commit3ed63dcb2358372a16aa8ea995eda680d028ee6e
tree23ded34606939df16ee2c4b4be635095afbcf039
parentc406719bab245e0ff6d2b2dc379edc519c94db10
Do not define __EXTENSIONS__ if already defined. [skip ci]

SunOS solaris11-amd64 5.11 11.4.0.15.0 i86pc i386 i86pc
clang version 6.0.0 (tags/RELEASE_600/final)

Every .c file that included netdissect-stdinc.h generated a warning:

In file included from ./netdissect-stdinc.h:42:
./ftmacros.h:48:11: warning: '__EXTENSIONS__' macro redefined
      [-Wmacro-redefined]
<built-in>:345:9: note: previous definition is here

(cherry picked from commit f139f17ba91ac60b36a0db424db01fbedf23a798)
ftmacros.h