Re: gcc and extended character source code
Re: gcc and extended character source code
- Subject: Re: gcc and extended character source code
- From: David Dunham <email@hidden>
- Date: Sun, 10 Feb 2008 22:48:25 -0800
On 10 Feb 2008, at 21:01, Peter Mulholland wrote:
I'm porting some code that a German guy has written under VC2005. He
frequently makes use of German characters in symbol names, enums etc.
While this works absolutely fine on VC, gcc just wont swallow it out
of the box.
C For Dummies: "Buried somewhere in one of the massive tomes that came
with your compiler are the official rules for naming variables. These
rules are unique to each compiler."
"Variable names have one to eight characters, chosen from A-Z, a-z,
0-9, and _, and start with a non-digit." Programming in C: A
Tutorial, Brian W. Kernighan, <http://www.lysator.liu.se/c/bwk-tutor.html
>
Variable names that don't use ASCII are illegal -- doesn't matter what
encoding the source code file has, the compiler won't parse the A-
umlaut.
If you don't want to change it, have the original author do so,
because it's not standard.
David Dunham A Sharp, LLC
Voice/Fax: 206 783 7404 http://a-sharp.com
"People seem to misinterpret complexity as sophistication" -- Niklaus
Wirth
_______________________________________________
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