win32 compile warnings

Andrew Dunstan <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
Attached is the list of (unexpected) compile warnings I get on Windows.

I suggest that we fix the sql_help multiline problem by having 
create_help.pl suppress carriage returns.

I'll start looking at the others - anyone who wants to jump in feel free.

cheers

andrew


---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match
warnings (text/plain, 6.5 KB)
crypt.c:504: warning: no previous prototype for `crypt'
crypt.c: In function `init_des':
crypt.c:830: warning: unused variable `init_start'
crypt.c:1018: warning: `setkey' defined but not used
crypt.c:1044: warning: `encrypt' defined but not used
open.c:49: warning: no previous prototype for `win32_open'
pgsleep.c:32: warning: no previous prototype for `pg_usleep'
xlog.c: In function `xlog_redo':
xlog.c:3635: warning: unsigned int format, different type arg (arg 4)
xlog.c:3637: warning: unsigned int format, different type arg (arg 4)
xlog.c: In function `xlog_desc':
xlog.c:3694: warning: unsigned int format, different type arg (arg 3)
sequence.c: In function `nextval':
sequence.c:474: warning: int format, different type arg (arg 4)
sequence.c:497: warning: int format, different type arg (arg 4)
sequence.c: In function `do_setval':
sequence.c:647: warning: int format, different type arg (arg 4)
sequence.c:648: warning: int format, different type arg (arg 4)
sequence.c:649: warning: int format, different type arg (arg 4)
sequence.c: In function `init_params':
sequence.c:982: warning: int format, different type arg (arg 4)
sequence.c:983: warning: int format, different type arg (arg 4)
sequence.c:1013: warning: int format, different type arg (arg 4)
sequence.c:1014: warning: int format, different type arg (arg 4)
sequence.c:1025: warning: int format, different type arg (arg 4)
sequence.c:1026: warning: int format, different type arg (arg 4)
sequence.c:1041: warning: int format, different type arg (arg 4)
dynloader.c:7: warning: no previous prototype for `dlerror'
dynloader.c:13: warning: no previous prototype for `dlclose'
dynloader.c:19: warning: no previous prototype for `dlsym'
dynloader.c:25: warning: no previous prototype for `dlopen'
crypt.c:504: warning: no previous prototype for `crypt'
crypt.c: In function `init_des':
crypt.c:830: warning: unused variable `init_start'
crypt.c:1018: warning: `setkey' defined but not used
crypt.c:1044: warning: `encrypt' defined but not used
open.c:49: warning: no previous prototype for `win32_open'
common.c: In function `pgtypes_fmt_replace':
common.c:93: warning: int format, different type arg (arg 4)
pg_dump.c: In function `dumpSequence':
pg_dump.c:7101: warning: int format, different type arg (arg 4)
pg_dump.c:7102: warning: int format, different type arg (arg 4)
pg_backup_custom.c: In function `_PrintExtraToc':
pg_backup_custom.c:284: warning: int format, different type arg (arg 3)
pg_backup_tar.c: In function `_tarAddFile':
pg_backup_tar.c:1022: warning: comparison is always false due to limited range of data type
pg_backup_tar.c:1046: warning: int format, different type arg (arg 4)
pg_backup_tar.c:1047: warning: int format, different type arg (arg 4)
pg_backup_tar.c: In function `_tarPositionTo':
pg_backup_tar.c:1083: warning: int format, different type arg (arg 4)
pg_backup_tar.c:1084: warning: int format, different type arg (arg 4)
pg_backup_tar.c:1095: warning: int format, different type arg (arg 4)
pg_backup_tar.c: In function `_tarGetHeader':
pg_backup_tar.c:1217: warning: int format, different type arg (arg 4)
pg_backup_tar.c:1226: warning: int format, different type arg (arg 4)
sql_help.h:38:10: warning: multi-line string literals are deprecated
sql_help.h:47:10: warning: multi-line string literals are deprecated
sql_help.h:64:10: warning: multi-line string literals are deprecated
sql_help.h:83:10: warning: multi-line string literals are deprecated
sql_help.h:89:10: warning: multi-line string literals are deprecated
sql_help.h:119:10: warning: multi-line string literals are deprecated
sql_help.h:139:10: warning: multi-line string literals are deprecated
sql_help.h:153:10: warning: multi-line string literals are deprecated
sql_help.h:159:10: warning: multi-line string literals are deprecated
sql_help.h:189:10: warning: multi-line string literals are deprecated
sql_help.h:213:10: warning: multi-line string literals are deprecated
sql_help.h:223:10: warning: multi-line string literals are deprecated
sql_help.h:233:10: warning: multi-line string literals are deprecated
sql_help.h:240:10: warning: multi-line string literals are deprecated
sql_help.h:245:10: warning: multi-line string literals are deprecated
sql_help.h:253:10: warning: multi-line string literals are deprecated
sql_help.h:264:10: warning: multi-line string literals are deprecated
sql_help.h:277:10: warning: multi-line string literals are deprecated
sql_help.h:286:10: warning: multi-line string literals are deprecated
sql_help.h:292:10: warning: multi-line string literals are deprecated
sql_help.h:297:10: warning: multi-line string literals are deprecated
sql_help.h:305:10: warning: multi-line string literals are deprecated
sql_help.h:317:10: warning: multi-line string literals are deprecated
sql_help.h:323:10: warning: multi-line string literals are deprecated
sql_help.h:328:10: warning: multi-line string literals are deprecated
sql_help.h:334:10: warning: multi-line string literals are deprecated
sql_help.h:364:10: warning: multi-line string literals are deprecated
sql_help.h:369:10: warning: multi-line string literals are deprecated
sql_help.h:375:10: warning: multi-line string literals are deprecated
sql_help.h:395:10: warning: multi-line string literals are deprecated
sql_help.h:416:10: warning: multi-line string literals are deprecated
sql_help.h:514:10: warning: multi-line string literals are deprecated
sql_help.h:535:10: warning: multi-line string literals are deprecated
sql_help.h:558:10: warning: multi-line string literals are deprecated
sql_help.h:571:10: warning: multi-line string literals are deprecated
sql_help.h:596:10: warning: multi-line string literals are deprecated
sql_help.h:601:10: warning: multi-line string literals are deprecated
sql_help.h:638:10: warning: multi-line string literals are deprecated
sql_help.h:660:10: warning: multi-line string literals are deprecated
sql_help.h:675:10: warning: multi-line string literals are deprecated
sql_help.h:684:10: warning: multi-line string literals are deprecated
sql_help.h:690:10: warning: multi-line string literals are deprecated
sql_help.h:700:10: warning: multi-line string literals are deprecated
sql_help.h:705:10: warning: multi-line string literals are deprecated
sql_help.h:719:10: warning: multi-line string literals are deprecated
sql_help.h:725:10: warning: multi-line string literals are deprecated
pg_controldata.c: In function `main':
pg_controldata.c:151: warning: unsigned int format, different type arg (arg 4)
pg_resetxlog.c: In function `PrintControlValues':
pg_resetxlog.c:459: warning: unsigned int format, different type arg (arg 4)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.