• 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: Apostrophes in #warning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apostrophes in #warning


  • Subject: Re: Apostrophes in #warning
  • From: Robert Tillyard <email@hidden>
  • Date: Tue, 2 Mar 2004 10:58:10 +0000

You can do:

#warning "can't use apostrophes in warnings, unless in quotes"

Regards, Rob.

On 2 Mar 2004, at 10:33 am, Matt Gough wrote:

I am not sure what the 'correct' behavior is, but I wanted to point out out that having apostrophes in a #warning prevents compiling:

E.G

#warning can't use apostrophes in warnings

causes the following error:

missing terminating ' character

I would have thought that the compiler should treat everything after the #warning as plain text, without having to worry about quote matching.

Matt Gough
_______________________________________________
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: 
 >Apostrophes in #warning (From: Matt Gough <email@hidden>)

  • Prev by Date: Apostrophes in #warning
  • Next by Date: Re: Creating gprof .order Files
  • Previous by thread: Apostrophes in #warning
  • Next by thread: Re: Apostrophes in #warning
  • Index(es):
    • Date
    • Thread