Link to home
Start Free TrialLog in
Avatar of dmshawkat
dmshawkat

asked on

C Source code Compile Warnings

Hello I am getting 5 different type of Warnings: when I build my C source module
( I am new in C source code)

Any remedy / suggestions or fixes will be greatly helpfull

Thanks
Shaw



They are followings:

1. /export/home/n9911742/Delta_Files/temp/vrtb02a2.c", line 117: warning: no explicit type given
2. /export/home/n9911742/Delta_Files/temp/vrtb02a2.c, line 2093: warning: implicit function declaration: UTL_C
SDateToSqlDate
3. /opt/vii/scm2src/prd/source/inc/virtuoso.h", line 2108: warning: macro redefined: INHERIT_PARENT
4. ld: warning: symbol `OP_Error_Return' has differing sizes:
        (file /opt/vii/scm2/prd-holdexe/lib/libvicss.so value=0x2c; file /opt/vii/scm2/prd-holdexe/lib/libvic
sd.so value=0x20);
5. /export/home/n9911742/Delta_Files/temp/vpay22s.c, line 753: warning: improper pointer/integer combination: arg #2
Avatar of _iskywalker_
_iskywalker_

without any code is quite hardly tio analyse
Avatar of dmshawkat

ASKER

Following is the exerpt of the code, though I just want to get an idea, generally
what are the probable cause of these type warnings :)

/* SQLLIB Prototypes */

117 : extern sqlcxt (/*_ void **, unsigned int *,
                   struct sqlexd *, struct sqlcxp * _*/);

2062: sqlcxt((void **)0, &sqlctx, &sqlstm, &sqlfpn);


ASKER CERTIFIED SOLUTION
Avatar of i_mahesh
i_mahesh

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial