Feature #4849
Fix compiler errors/warnings
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
fixed
Description
Resolve ALL errors and warnings during compilation. Below is an example from FC4 output:
Src/tchar.h:2025:1: warning: this is the location of the previous definition Src/common.c: In function 'GetSQLString': Src/common.c:85: warning: pointer targets in passing argument 1 of 'strlen' diff er in signedness Src/common.c:92: warning: pointer targets in passing argument 2 of '+builtin_st rncpy' differ in signedness Src/common.c:106: warning: pointer targets in return differ in signedness Src/common.c: In function 'ReadFromDS': Src/common.c:123: warning: pointer targets in assignment differ in signedness Src/common.c:126: warning: pointer targets in passing argument 2 of '+builtin_s trncpy' differ in signedness Src/common.c: In function 'ReturnString': Src/common.c:589: warning: pointer targets in assignment differ in signedness Src/common.c:592: warning: pointer targets in passing argument 1 of 'strlen' dif fer in signedness Src/common.c:606: warning: pointer targets in passing argument 1 of '+builtin_s trncpy' differ in signedness Src/common.c:606: warning: pointer targets in passing argument 2 of '+builtin_s trncpy' differ in signedness Src/common.c: In function 'PrepareConnectionStringRequest': Src/common.c:667: warning: pointer targets in passing argument 1 of '+builtin_s trncpy' differ in signedness Src/common.c:677: warning: pointer targets in passing argument 1 of '+builtin_s trncpy' differ in signedness Src/common.c:683: warning: pointer targets in passing argument 1 of '+builtin_s trncpy' differ in signedness Src/common.c: In function 'PrepareConnectionString': Src/common.c:708: warning: pointer targets in passing argument 1 of 'strlen' dif fer in signedness Src/common.c:741: warning: pointer targets in passing argument 1 of '+builtin_s trncpy' differ in signedness Src/common.c:746: warning: pointer targets in passing argument 1 of '+builtin_s trncpy' differ in signedness Src/common.c:751: warning: pointer targets in passing argument 1 of 'strlen' dif fer in signedness Src/common.c:751: warning: pointer targets in passing argument 1 of 'strlen' dif fer in signedness Src/common.c:752: warning: pointer targets in passing argument 1 of '+builtin_s trncpy' differ in signedness Src/common.c:752: warning: pointer targets in passing argument 2 of '+builtin_s trncpy' differ in signedness Src/common.c:771: warning: pointer targets in passing argument 1 of '+builtin_s trncpy' differ in signedness Src/common.c:781: warning: pointer targets in passing argument 1 of '+builtin_s trncpy' differ in signedness Src/common.c: In function 'PostgreTypeConverter': Src/common.c:955: warning: pointer targets in passing argument 1 of 'strlen' dif fer in signedness Src/common.c:958: warning: pointer targets in passing argument 1 of 'strlen' dif fer in signedness Src/common.c:958: warning: pointer targets in passing argument 1 of 'strlen' dif