From: William H. N. <wil...@ai...> - 2002-03-26 15:31:54
|
On Tue, Mar 26, 2002 at 08:54:19AM +0000, Christophe Rhodes wrote: > On Mon, Mar 25, 2002 at 06:57:35PM -0500, Nathan Froyd wrote: > > What version of GCC are you using? There's still lots of compiler > > warnings going on (complaints about multi-line strings in > > src/runtime/runtime.c > > This one's odd -- I'm fairly sure I didn't touch runtime.c. It's true > that there is a multiline string in there, but I don't see this > complaint... I'm using gcc 2.95.3. I think a relevant line is: > *cpp_arch_default: > -D__GCC_NEW_VARARGS__ -Acpu(sparc) -Amachine(sparc) > (from gcc -dumpspecs) -- a gcc that tries to build 64-bit binaries would > have sparc64 rather than sparc in there, I think. not that odd... Just a few days ago I had occasion to skim the release/install docs for a >3 version of GCC. I ran across a remark that they now consider their multiline string support to be, misquoting from memory, a poorly specified extension which is now deprecated. They had some suggestions for how to fix old code, one of which I think was replacing the bare ASCII newlines with ASCII backslash, ASCII n, ASCII backslash, ASCII newline. -- William Harold Newman <wil...@ai...> "Now it's a couple of guys sitting in a living room with laptops. (And jeans turn out not to be the last word in informality.)" -- <http://www.paulgraham.com/road.html> PGP key fingerprint 85 CE 1C BA 79 8D 51 8C B9 25 FB EE E0 C3 E5 7C |