• 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: Unknown escape sequence '\/'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unknown escape sequence '\/'


  • Subject: Re: Unknown escape sequence '\/'
  • From: Jens Ayton <email@hidden>
  • Date: Wed, 13 Jun 2007 13:03:51 +0200
  • Openpgp: id=84FF254B

Mike:
>
> I get this error in Xcode. When I try to use '\\/' instead it gives me a
> different error warning about multi-char escape sequences. How do I turn
> this warning off?

What exactly are you trying to achieve? '\/' gives a warning because / does
not need to be escaped. '\\/' gives a warning because you have an escaped
backslash followed by a /, producing a multicharacter constant (not a
multi-char escape sequence). If that's what you want, and you want to disable
this warning, use -Wno-multichar (which I found by searching the gcc man page
for "character constant"). Read the information about the flag on the man page
first.


--
Jens Ayton

Sed quis custodiet ipsos custodes?
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Unknown escape sequence '\/' (From: Mike <email@hidden>)

  • Prev by Date: Unknown escape sequence '\/'
  • Next by Date: Re: Converting a Makefile project to Xcode
  • Previous by thread: Unknown escape sequence '\/'
  • Next by thread: Xcode and SCM
  • Index(es):
    • Date
    • Thread