LPRng-3.6.18 fixed the CC compiler warnings on Tru64 V4.0F on our machine
without GCC installed. But on a machine running Tru64 V4.0F with GCC V2.8.1 
installed I get the following warnings:

gcc -g -O2 -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\"  
-DLPD_CONF_PATH=\"/usr/local/etc/lpd.conf\" 
-DLPD_PERMS_PATH=\"/usr/local/etc/lpd.perms\" 
-DPRINTCAP_PATH=\"/usr/local/etc/printcap\" 
-DLPD_PRINTCAP_PATH=\"/usr/local/etc/lpd_printcap\" -DFORCE_LOCALHOST=\"1\" 
-DREQUIRE_CONFIGFILES=\"1\" -DLOCKFILE=\"/var/run/lpd\" -DCLEAR=\"/usr/ucb/clear\" 
-DUSERID=\"daemon\" -DGROUPID=\"daemon\" -I.. -I./include   -c ./common/linelist.c -o 
linelist.o
./common/linelist.c: In function `realloc_or_die':
./common/linelist.c:106: warning: cast from pointer to integer of different size

gcc -g -O2 -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\"  
-DLPD_CONF_PATH=\"/usr/local/etc/lpd.conf\" 
-DLPD_PERMS_PATH=\"/usr/local/etc/lpd.perms\" 
-DPRINTCAP_PATH=\"/usr/local/etc/printcap\" 
-DLPD_PRINTCAP_PATH=\"/usr/local/etc/lpd_printcap\" -DFORCE_LOCALHOST=\"1\" 
-DREQUIRE_CONFIGFILES=\"1\" -DLOCKFILE=\"/var/run/lpd\" -DCLEAR=\"/usr/ucb/clear\" 
-DUSERID=\"daemon\" -DGROUPID=\"daemon\" -I.. -I./include   -c ./common/lpd_remove.c 
-o lpd_remove.o
./common/lpd_remove.c: In function `Get_queue_remove':
./common/lpd_remove.c:270: warning: cast to pointer from integer of different size
./common/lpd_remove.c:281: warning: cast from pointer to integer of different size

gcc -g -O2 -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\"  
-DLPD_CONF_PATH=\"/usr/local/etc/lpd.conf\" 
-DLPD_PERMS_PATH=\"/usr/local/etc/lpd.perms\" 
-DPRINTCAP_PATH=\"/usr/local/etc/printcap\" 
-DLPD_PRINTCAP_PATH=\"/usr/local/etc/lpd_printcap\" -DFORCE_LOCALHOST=\"1\" 
-DREQUIRE_CONFIGFILES=\"1\" -DLOCKFILE=\"/var/run/lpd\" -DCLEAR=\"/usr/ucb/clear\" 
-DUSERID=\"daemon\" -DGROUPID=\"daemon\" -I.. -I./include   -c ./common/sendreq.c -o 
sendreq.o
./common/sendreq.c: In function `Send_request':
./common/sendreq.c:95: warning: cast from pointer to integer of different size
./common/sendreq.c:95: warning: cast from pointer to integer of different size
./common/sendreq.c:96: warning: cast from pointer to integer of different size

- Justus

-- 
Think to the future and beyond....

 /** Justus J. Addiss               Email: [EMAIL PROTECTED]     **\
<*** 3M Health Information Systems  Phone: 203-949-0303 x6414   ***>
 \** Wallingford, CT 06492-1802     FAX:   203-949-6455 or 6331 **/


-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------


-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to