On Monday 26 May 2003 22:01, Gustavo Dutra wrote:
Hi,
I have a problem with sources that used to compile with previous versions of gcc:
char[] = " Its a sample Of compiling a Char array";
It used to compile with previous version, now it complains with "no matching " ending found"(something like that).
I managed to edit the source and changed to:
char[] = "its a sample" "of compiling a" "char array";
This time, the compiler did not complain, but I don't know if it is the answer, and I can't modify lots of old source code.
Is there any switch to pass the compiler so it recognizes this old behavior, and I can compile old code?
Check the release notes for 3.3. I seem to remember that that was deprecated. There might be a switch, but fixing your code is the correct answer. If you've got lots of code, a script to fix it all should be fairly easy. -- "...our desktop is falling behind stability-wise and feature wise to KDE ...when I went to Mexico in December to the facility where we launched gnome, they had all switched to KDE3." - Miguel de Icaza, March 2003