[gate-users] Re: gcc compiling
Kris Thielemans
kris.thielemans at csc.mrc.ac.uk
Thu Nov 18 12:58:44 CET 2004
Hi
Aside from Karine's comments, just this
> > The error message is followed.
> > benchmark_spectra.c:768:17: warning: multi-line string literals are
> > deprecated
> > benchmark_projections.c:662:17: warning: multi-line string
> literals are
> > deprecated
> >
That's not an error message, but a warning. So it should all be ok.
This warning occurs when you do for instance
char a[] = "some text
continued on the next line";
It's far better to change this to
char a[] = "some text\n"
"continued on the next line";
with an explicit newline where it's wanted. I'm not even sure if in the
original form you're sure to have a newline on every system, and things
like Unix-DOS EOL are bound to give problems.
All the best
Kris Thielemans
Hammersmith Imanet, part of GE Healthcare
Cyclotron Building
Hammersmith Hospital
Du Cane Road
London W12 ONN, United Kingdom
web site address: http://www.hammersmithimanet.com/~kris
-------------------------------------------
NOTE: My inbox has a SPAM filter that automatically throws away suspect
messages. If you expect a reply and don't get one, your message might
have been wrongly classified.
More information about the Gate-users
mailing list