• 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
gcc and extended character source code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gcc and extended character source code


  • Subject: gcc and extended character source code
  • From: Peter Mulholland <email@hidden>
  • Date: Mon, 11 Feb 2008 05:01:39 +0000

Hello xcode-users,

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.

I have checked that the right file encoding is set in Xcode, which is
Western (ISO Latin 1). I've even tried converting the files to UTF-8
but gcc still wont compile them. For example:

enum Spiele
{
        BILDER_BASTELN,
        CRAZY_QUADER,
        DREIECK_RECHNEN,
        GEDÄCHTNIS,
...
};

... produces the errors:

error: expected '}' before 'OTHER' token
error expected unqualified-id beefore 'OTHER' token

... on the line where "GEDÄCHTNIS" is declared. If I comment it out,
or edit it to "GEDACHTNIS" it works.

I really don't want to have to edit all this out! Is there something
I'm missing?

--
Best regards,
 Peter                          mailto:email@hidden

 _______________________________________________
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

  • Follow-Ups:
    • Re: gcc and extended character source code
      • From: "Sean McBride" <email@hidden>
    • Re: gcc and extended character source code
      • From: email@hidden (Christian Demmer)
    • Re: gcc and extended character source code
      • From: David Dunham <email@hidden>
  • Prev by Date: Re: Xcode 3.0, is it missing the Close Project menu item?
  • Next by Date: Re: Xcode 3.0, is it missing the Close Project menu item?
  • Previous by thread: Re: Xcode 3.0, is it missing the Close Project menu item?
  • Next by thread: Re: gcc and extended character source code
  • Index(es):
    • Date
    • Thread