Re: Unknown escape sequence '\/'
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