Re: 32 bit integers for article numbers: windows

andrew <[email protected]>
Newsgroups gmane.network.slrn.user
Message-ID <[email protected]>
On Thu, Sep 11, 2008 at 11:03:08AM -0400, John E. Davis wrote:

>             [...]  If you see any compiler warnings, please send
> those to me so I can see if they are serious or not.

Thanks John. The windows slrn now reports 64 bit article addressing.
There were a few compiler warnings and I have taken the liberty of
attaching the _full_ compile log.

  Andrew

-- 
Do you think that's air your breathing now?

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
windows_long (text/plain, 5.4 KB)
C:\slrn_source\svn_slrn\src>mingw32-make -f makefile.g32
gcc -c -IC:/MinGW/local/include chkslang.c -o gw32objs/chkslang.o
gcc gw32objs/chkslang.o -o gw32objs/chkslang.exe -LC:/MinGW/local/lib -lslang -liconv
.\gw32objs\chkslang.exe slrn 20000
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include   -o gw32objs/art.o art.c
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include   -o gw32objs/art_misc.o art_misc.c
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include   -o gw32objs/art_sort.o art_sort.c
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include   -o gw32objs/charset.o charset.c
charset.c: In function `iconv_convert_string':
charset.c:142: warning: passing arg 2 of `libiconv' from incompatible pointer type
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include   -o gw32objs/decode.o decode.c
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include   -o gw32objs/editscore.o editscore.c
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include  -DSLRN_LIB_DIR='"C:/MinGW/local/share/slrn"' -o gw32objs/group.o group.c
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include   -o gw32objs/grplens.o grplens.c
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include   -o gw32objs/hash.o hash.c
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include   -o gw32objs/hdrutils.o hdrutils.c
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include   -o gw32objs/help.o help.c
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include   -o gw32objs/hooks.o hooks.c
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include  -DSLRN_SLANG_DIR='"C:/MinGW/local/share/slrn/slang"' -o gw32objs/interp.o interp.c
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include   -o gw32objs/menu.o menu.c
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include   -o gw32objs/mime.o mime.c
mime.c:1862: warning: unused parameter 'from_charset'
mime.c:1982: warning: unused parameter 'from_charset'
mime.c:1934: warning: unused parameter 'from_charset'
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include   -o gw32objs/misc.o misc.c
misc.c:1078: warning: unused parameter 'subject'
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include   -o gw32objs/post.o post.c
post.c:875: warning: unused parameter 'mail'
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include   -o gw32objs/print.o print.c
print.c: In function `slrn_open_printer':
print.c:156: warning: int format, DWORD arg (arg 2)
print.c:164: warning: int format, DWORD arg (arg 2)
print.c: In function `write_to_printer':
print.c:184: warning: int format, DWORD arg (arg 2)
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include   -o gw32objs/ranges.o ranges.c
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include   -o gw32objs/score.o score.c
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include   -o gw32objs/server.o server.c
In file included from server.c:71:
spool.c: In function `spool_find_artnum_from_msgid':
spool.c:388: warning: integer constant is too large for "long" type
spool.c: In function `spool_read_minmax_from_dp':
spool.c:764: warning: integer constant is too large for "long" type
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include  -DSLRN_CONF_DIR='"C:/MinGW/local/etc"' -o gw32objs/slrn.o slrn.c
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include   -o gw32objs/slrndir.o slrndir.c
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include   -o gw32objs/snprintf.o snprintf.c
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include   -o gw32objs/sortdate.o sortdate.c
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include   -o gw32objs/startup.o startup.c
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include   -o gw32objs/strutil.o strutil.c
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include   -o gw32objs/ttymsg.o ttymsg.c
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include   -o gw32objs/util.o util.c
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include   -o gw32objs/version.o version.c
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include   -o gw32objs/vfile.o vfile.c
gcc -c -O2 -fno-strength-reduce -W -Wall -DSLANG_DLL=1 -IC:/MinGW/local/include   -o gw32objs/xover.o xover.c
gcc gw32objs/art.o gw32objs/art_misc.o gw32objs/art_sort.o gw32objs/charset.o gw32objs/decode.o gw32objs/editscore.o gw32objs/group.o gw32objs/grplens.o gw32objs/hash.o gw32objs/hdrutils.o gw32objs/he
lp.o gw32objs/hooks.o gw32objs/interp.o gw32objs/menu.o gw32objs/mime.o gw32objs/misc.o gw32objs/post.o gw32objs/print.o gw32objs/ranges.o gw32objs/score.o gw32objs/server.o gw32objs/slrn.o gw32objs/s
lrndir.o gw32objs/snprintf.o gw32objs/sortdate.o gw32objs/startup.o gw32objs/strutil.o gw32objs/ttymsg.o gw32objs/util.o gw32objs/version.o gw32objs/vfile.o gw32objs/xover.o -o slrn.exe -Wl,--subsyste
m,console -LC:/MinGW/local/lib -lslang -liconv -lwsock32 -lwinspool

C:\slrn_source\svn_slrn\src>
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.