This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

multi-line string deprecated


Hi,
I'm new to this group so I don't know if this is perhaps an too often asked question:

I compile linux-kernels for MIPS. Using actually gcc 3.0.4 and 3.1
With 2.4.10 or 2.4.18 this is no problem.
With a 2.4.0 kernel source modifieed especially for SGI-MIPS and Vr-MIPS
I have a strange problem:

I get a lot warnings similar to this:

In file included from /home/thim/linux/include/linux/fs.h:191,
from /home/thim/linux/include/linux/capability.h:17,
from /home/thim/linux/include/linux/binfmts.h:5,
from /home/thim/linux/include/linux/sched.h:9,
from process.c:10:
/home/thim/linux/include/asm/semaphore.h:150:30: warning: multi-line string literals are deprecated

And when starting the linking process it fails with:

mipsel-linux-ld: Warning: size of symbol `init_task_union' changed from 66771909 to 8192 in arch/mips/kernel/init_task.o
mipsel-linux-ld: Warning: size of symbol `linux_banner' changed from 297121445 to 4 in init/version.o
mipsel-linux-ld: Warning: size of symbol `mips_cputype' changed from 149569904 to 4 in arch/mips/kernel/kernel.o
make: *** [vmlinux] Speicherzugriffsfehler /* << means something like memory access failure */
make: *** Deleting file `vmlinux'

I've read something about the multi-line strings and the use with gcc but it makes no sense for me because warnings refer on things which are
identical in old and new kernel sources.
Is there any compiler switch (I used both times the same flags) I have to set or unset?

Tiemo :-(



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]