How to get rid of annoying warnings when compiling with Pro*C i.e. defined but not used warnings
Hello there,
When compiling code with Pro*C Oracle pre compiler, we keep getting annoying warnings, this happens only on Linux platforms and we don't see such warnings on Solaris or HP.
Below are some examples of these warnings:
filename.c:114: warning: 'sqlstm' defined but not used
filename.c:41: warning: 'sqladt' defined but not used
filename.c:53: warning: 'sqltds' defined but not used
filename.c:72: warning: 'sqlctx' defined but not used
Regards,
Mahdi