• 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: Xcode is compiling my comments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode is compiling my comments


  • Subject: Re: Xcode is compiling my comments
  • From: Mark Wagner <email@hidden>
  • Date: Wed, 4 Mar 2009 13:11:56 -0800

On Tue, Mar 3, 2009 at 18:43, Andy Lee <email@hidden> wrote:
> On Mar 3, 2009, at 6:42 PM, Mark Wagner wrote:
>>
>> The compiler output:
>>
>> pgWinDef.h:173: error: expected unqualified-id before 'unsigned'
>> pgWinDef.h:173: error: expected initializer before 'unsigned'
>>
>> Lines 173 and 174 pgWinDef.h:
>>
>> typedef void *HENHMETAFILE;
>> //typedef unsigned char * HENHMETAFILE; /* Compatible with the def in
>> mgrphres.h */
>>
>> Why's Xcode compiling the comment rather than the code?
>
> I don't suppose you have a
>
> #define HENHMETAFILE unsigned char *
>
> somewhere that you forgot about?  Note the error is on line 173, before it
> even gets to the //typedef.

Thanks, that was it.  Turns out there's a third definition of the type
floating around, by a previous programmer who was a little too in love
with the preprocessor.

--
Mark Wagner
 _______________________________________________
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: 
 >Xcode is compiling my comments (From: Mark Wagner <email@hidden>)
 >Re: Xcode is compiling my comments (From: Andy Lee <email@hidden>)

  • Prev by Date: Re: Info.plist preprocessing in single-file tool?
  • Next by Date: Re: Subversion with xcode problems
  • Previous by thread: Re: Xcode is compiling my comments
  • Next by thread: Re: Xcode is compiling my comments
  • Index(es):
    • Date
    • Thread