Re: 2.4.5 and gcc v3 final

2001-06-26 Thread Anuradha Ratnaweera
On Tue, Jun 26, 2001 at 12:41:49AM +0200, Andreas Bombe wrote: > > But the first example contains three newlines, the second just one. A > thing to keep in mind when going around fixing these multi line strings, > explicit newlines have to be added. Some code contains very long lines (around 15

Re: 2.4.5 and gcc v3 final

2001-06-26 Thread Anuradha Ratnaweera
On Sun, Jun 24, 2001 at 01:33:51PM -0400, Horst von Brand wrote: > Fabian Arias <[EMAIL PROTECTED]> said: > > What gcc objects to is stuff like: > >"This is a nice long string > that just goes on > and on\n" > > which is illegal in C AFAIU. It does not object to: > >"This long

[PATCH] GCC v3 warning fixes #1 (Was: Re: 2.4.5 and gcc v3 final)

2001-06-26 Thread Anuradha Ratnaweera
On Sun, Jun 24, 2001 at 01:33:51PM -0400, Horst von Brand wrote: > > What gcc objects to is stuff like: > >"This is a nice long string > that just goes on > and on\n" > > which is illegal in C AFAIU. It does not object to: > >"This long string" >"spans several lines, " >

Re: 2.4.5 and gcc v3 final

2001-06-25 Thread Andreas Bombe
On Sun, Jun 24, 2001 at 01:33:51PM -0400, Horst von Brand wrote: > What gcc objects to is stuff like: > >"This is a nice long string > that just goes on > and on\n" > > which is illegal in C AFAIU. It does not object to: > >"This long string" >"spans several lines, " >"b

Re: 2.4.5 and gcc v3 final

2001-06-25 Thread Horst von Brand
Fabian Arias <[EMAIL PROTECTED]> said: > On Sun, 24 Jun 2001, Anuradha Ratnaweera wrote: > > On Fri, Jun 22, 2001 at 10:29:25AM +0400, Anatoly Ivanov wrote: > > > I hope that lk-developers would fix it one day. > > Multi-string literals is a nice little ANSI C feature that appears > > everywhere.

Re: 2.4.5 and gcc v3 final

2001-06-24 Thread Fabian Arias
On Sun, 24 Jun 2001, Anuradha Ratnaweera wrote: > On Fri, Jun 22, 2001 at 10:29:25AM +0400, Anatoly Ivanov wrote: > > > > I hope that lk-developers would fix it one day. > > Multi-string literals is a nice little ANSI C feature that appears everywhere. > Why it is necessary to "fix" them? I

Re: 2.4.5 and gcc v3 final

2001-06-23 Thread Anuradha Ratnaweera
On Fri, Jun 22, 2001 at 10:29:25AM +0400, Anatoly Ivanov wrote: > > I hope that lk-developers would fix it one day. Multi-string literals is a nice little ANSI C feature that appears everywhere. Why it is necessary to "fix" them? Anuradha -- Debian GNU/Linux (kernel 2.4.6-pre5) For some rea

Re: 2.4.5 and gcc v3 final

2001-06-21 Thread Anatoly Ivanov
As you can see, this is just deprecation warning, i.e. you can use multi-string literals, but you'd better don't. You can forget about these warnings and test ac17 with gcc3. I hope that lk-developers would fix it one day. --- avi Fabian Arias wrote: > I've just applied the "patch", but te wa

Re: 2.4.5 and gcc v3 final

2001-06-21 Thread Fabian Arias
I've just applied the "patch", but te warning still appears. Is this somthing not to be worried about or is it something serious? /usr/src/linux-2.4.5/include/asm/checksum.h:161:17: warning: multi-line string literals are deprecated I had to come back to 2.95 to test the ac17. Not so happy abou

Re: 2.4.5 and gcc v3 final

2001-06-20 Thread Anatoly Ivanov
Hi, Solution is simple: change line 540 from "extern struct timeval xtime;" to "extern volatile struct timeval xtime;" and have fun :) --- avi Kissandrakis S. George wrote: > Hello > I suppose that you allready know it > I have installed gcc v3 released Jun 18 and i tried to compile the > kern

2.4.5 and gcc v3 final

2001-06-20 Thread Kissandrakis S. George
Hello I suppose that you allready know it I have installed gcc v3 released Jun 18 and i tried to compile the kernel and i got these errors in make dep i got several warnings that look like this /usr/src/linux-2.4.5/include/asm/checksum.h:161:17: warning: multi-line string literals are deprecated