[Home]

Summary:ASTERISK-05505: res_config_odbc.c compilation fails
Reporter:puzzled (puzzled)Labels:
Date Opened:2005-11-08 09:28:20.000-0600Date Closed:2011-06-07 14:10:18
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Compilation of cvs HEAD from about 11/8 14:00 CET fails in res_config_odbc.c with the following messages:

gcc  -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -march=k8 -DZAPTEL_OPTIMIZATIONS         -m64 -fomit-frame-pointer  -DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC   -c -o
res_config_odbc.o res_config_odbc.c
In file included from res_config_odbc.c:36:
../include/asterisk/file.h:52: error: syntax error before '*' token
../include/asterisk/file.h:52: warning: function declaration isn't a
prototype
../include/asterisk/file.h:53: error: syntax error before '*' token
../include/asterisk/file.h:53: warning: function declaration isn't a
prototype
res_config_odbc.c: In function 'realtime_odbc':
res_config_odbc.c:98: warning: implicit declaration of function
'snprintf'
res_config_odbc.c:98: warning: incompatible implicit declaration of
built-in function 'snprintf'
res_config_odbc.c:105: warning: pointer targets in passing argument 2 of
'SQLPrepare' differ in signedness
res_config_odbc.c:149: warning: pointer targets in passing argument 3 of
'SQLDescribeCol' differ in signedness
res_config_odbc.c: In function 'realtime_multi_odbc':
res_config_odbc.c:242: warning: incompatible implicit declaration of
built-in function 'snprintf'
res_config_odbc.c:251: warning: pointer targets in passing argument 2 of
'SQLPrepare' differ in signedness
res_config_odbc.c:303: warning: pointer targets in passing argument 3 of
'SQLDescribeCol' differ in signedness
res_config_odbc.c: In function 'update_odbc':
res_config_odbc.c:370: warning: incompatible implicit declaration of
built-in function 'snprintf'
res_config_odbc.c:378: warning: pointer targets in passing argument 2 of
'SQLPrepare' differ in signedness
res_config_odbc.c: In function 'config_odbc':
res_config_odbc.c:448: warning: incompatible implicit declaration of
built-in function 'snprintf'
make[1]: *** [res_config_odbc.o] Error 1
Comments:By: puzzled (puzzled) 2005-11-08 10:30:42.000-0600

Seems to be a duplicate of http://bugs.digium.com/view.php?id=5650
Please disregard

By: BJ Weschke (bweschke) 2005-11-08 10:36:49.000-0600

duplicate of 5650