Precompilers and OCI (MOSC)

MOSC Banner

How to get rid of annoying warnings when compiling with Pro*C i.e. defined but not used warnings

edited Apr 28, 2015 10:04AM in Precompilers and OCI (MOSC) 3 commentsAnswered

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

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center