Hi,
we use Pro*C C-sources in an older project. When compiling we get warnings from gcc:
CUR_azdaten.pc.c:129:18: warning: ‘IAPFTL’ defined but not used [-Wunused-const-variable=]
129 | static const int IAPFTL = 535;
| ^~~~~~
CUR_azdaten.pc.c:128:18: warning: ‘IAPFAIL’ defined but not used [-Wunused-const-variable=]
128 | static const int IAPFAIL = 1403;
| ^~~~~~~
CUR_azdaten.pc.c:127:18: warning: ‘IAPSUCC’ defined but not used [-Wunused-const-variable=]
127 | static const int IAPSUCC = 0;
| ^~~~~~~
Is were a way to change code generation in way to get rid of these warnings?
As proc-Option we use:
code=ANSI_C
Best regards
Thomas