Re: Multi-line strings causing build failure
Re: Multi-line strings causing build failure
- Subject: Re: Multi-line strings causing build failure
- From: Eric Albert <email@hidden>
- Date: Thu, 13 Nov 2003 23:01:06 -0800
At 11:49 AM -0800 11/12/03, Mark Eaton wrote:
I'm having some trouble with some sources in cpp files that have
string literals that span multiple lines. According to..
http://developer.apple.com/documentation/DeveloperTools/gcc-3.3/gcc/Multi-line-Strings.html
..this code should compile. However GCC 3.3 is erroring such cases
with a missing terminating " character.
The documentation is wrong. GCC 3.3 no longer supports multi-line
string literals. It's actually the first item in the GCC 3.3 change
notes (<http://gcc.gnu.org/gcc-3.3/changes.html>):
-----
Caveats
* The preprocessor no longer accepts multi-line string literals. They
were deprecated in 3.0, 3.1, and 3.2.
-----
-Eric
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.