W3C home > Mailing lists > Public > www-lib@w3.org > April to June 1999

libwww: HTGopher.c

From: Rob Urban <urban@spielwiese.de>
Date: Thu, 03 Jun 1999 04:06:43 +0200
Message-Id: <3755E333.91BB878D@spielwiese.de>
To: www-lib@w3.org
while compiling the libwww that comes with amaya-2.0a on Digital UNIX
using the Digital compiler,  I got:

CC=[/usr/bin/cc -std1 -DHAVE_CONFIG_H -I. -I../../../../../libwww/Library/src
-I../.. -I/usr/local/include -DW3C_ICONS="/usr/local/share/w3c-libwww" -O4
-Wp,-MD -c ../../../../../libwww/Library/src/HTGopher.c]
cc: Warning: ../../../../../libwww/Library/src/HTGopher.c, line 345: In this
statement, the expression "start=start?++start:line" modifies the variable
"start" more than once without an intervening sequence point.  This behavior
is undefined.
        start = start ? ++start : line;
--------^
cc: Warning: ../../../../../libwww/Library/src/HTGopher.c, line 351: In this
statement, the expression "start=start?++start:line" modifies the variable
"start" more than once without an intervening sequence point.  This behavior
is undefined.
        start = start ? ++start : line;
--------^
cc: Warning: ../../../../../libwww/Library/src/HTGopher.c, line 404: In this
statement, the expression "start=start?++start:line" modifies the variable
"start" more than once without an intervening sequence point.  This behavior
is undefined.
        start = start ? ++start : line;
--------^


"start = start ? ++start : line;" looks pretty dodgy to me...

sometimes a good compiler can save a lot of headaches...

Rob Urban
Received on Wednesday, 2 June 1999 22:06:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:29 GMT