error in 2.0.31

Herbert Rosmanith (herp@wildsau.idv-edu.uni-linz.ac.at)
Sat, 8 Nov 1997 01:50:28 +0100 (MET)


dear linus,

I tried to compile 2.0.31, but got the error included below.
It is easy to fix anyway, but could you please fix it for
2.0.32 ?

gcc -D__KERNEL__ -I/home/root/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2
-malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -c
-o ip_masq_quake.o ip_masq_quake.c
ip_masq_quake.c:51: parse error before `/'
ip_masq_quake.c:51: warning: no semicolon at end of struct or union
ip_masq_quake.c:54: warning: data definition has no type or storage class

not everyone who has gcc installed, also has g++ installed.
The problem is a c++ style comment. Would you please change
./net/ipv4/ip_masq_quake.c:

typedef struct
{
__u16 type; // (Little Endian) Type of message.
__u16 length; // (Little Endian) Length of message, header included.
char message[0]; // The contents of the message.
} QUAKEHEADER;

to /* ... */ comments ?

thank you,
Herbert Rosmanith
herp@linz.at