• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Multi-line strings causing build failure
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Multi-line strings causing build failure (From: Mark Eaton <email@hidden>)

  • Prev by Date: Re: Xcode -> textbook programming
  • Next by Date: Re: Managing executable frameworks for multiple projects
  • Previous by thread: Multi-line strings causing build failure
  • Next by thread: PackageMaker from the command line
  • Index(es):
    • Date
    • Thread