built-in function 'exp' declared as non-function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I try to find a way to locally (in a compile unit) disable this
annoying warning.

built-in function 'exp' declared as non-function

exp is a symbol of mine (An array of struct), not a function.

I can't change the Makefile CFLAGS  that are setup tight (-Wall etc....)
I am reluctant to #define exp MyExp has it render symbolic debuging of
it tedious.
I know I am not including <math.h> in anyway in this compile unit
I can't find a #pragma or _Pragma suitable for this.
I can't make my exp[] array  static (easily).

I guess I have exhausted my gcc knowledge. Any ideas/tricks  to let
gcc know that I don't want to use exp() builtin,  that kinda step in
my name space.
Thanx in advance,
Cheers
Phi



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux