[ Please keep replies on the list. Thanks. ] On Wed, Apr 10, 2019 at 06:04:30PM +0200, phi gcc wrote: > I can't really change the Makefile so the --no-builtin is not too easy for me. > > The pragma seems not work on my gcc > > TC$ gcc --version > gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0 > > TC$ echo "#pragma GCC diagnostic ignored \"-Wbuiltin-declaration-mismatch\" > int exp;" | cc -c -x c - > <stdin>:2:5: warning: built-in function 'exp' declared as non-function Yeah, this is a separately controllable warning since GCC 8 (it couldn't be disabled before, other than with -w). Segher