• 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
Baffling Xcode Complaint About Compiling My Object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Baffling Xcode Complaint About Compiling My Object


  • Subject: Baffling Xcode Complaint About Compiling My Object
  • From: Lance Drake <email@hidden>
  • Date: Wed, 3 Mar 2004 10:02:06 -0700

...
CONTENTS OF THE MAIN APP FILE HEADER:
// -------------
// My Project.h

#import <AppKit/AppKit.h>
#import "MyMsgPort.h"
(there are other headers - but this is the one that generates
the problem, no matter WHERE it is located in the build)
...

// the problem file...
// MyMsgPort.h
#import <CoreFoundation/CFMessagePort.h>

class MyMsgPort <-- this is as far as the compile gets
{
...
====================================================================
CompileC (formatted for readability)
/Users/lance/Apps/MyApp/build/MyApp.build/MyApp.build/Objects-normal/ ppc/MyApp.o
/usr/bin/gcc-3.3
-c -F/Users/lance/Apps/MyApp/build
-F/System/Library/PrivateFrameworks
-I/Users/lance/Apps/MyApp/build/include
-IAppMain
-arch ppc
-fno-common
-fpascal-strings
-O0 -Wmost
-Wno-four-char-constants
-Wno-unknown-pragmas
-pipe "-fmessage-length=0"
-mdynamic-no-pic
-g
-Wp,
-header-mapfile,/Users/lance/Apps/MyApp/build/MyApp.build/MyApp.build/ MyApp.hmap
-include /Users/lance/Apps/MyApp/build/MyApp.build/MyApp.build/PrefixHeaders/ MyApp_Prefix-ppc
AppMain/MyApp.m
-o /Users/lance/Apps/MyApp/build/MyApp.build/MyApp.build/Objects-normal/ ppc/MyApp.o
In file included from AppMain/MyApp.h:10, from AppMain/MyApp.m:9:
/Users/lance/Apps/MyApp/Msgs/MyMsgPort.h:16:
error: parse error before "MyMsgPort"
=====================================================================


The file 'MyMsgPort.h' is identified as 'sourceCode.cpp.h' (as per MyPort.cpp) but we never get that far.
What's weird is how it's THIS file - out of many that invokes the instant compiler-coughing.


Any clues for the currently clueless?

Thanks!

Lance Drake
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Baffling Xcode Complaint About Compiling My Object
      • From: Stephen Coy <email@hidden>
    • Re: Baffling Xcode Complaint About Compiling My Object
      • From: Shawn Erickson <email@hidden>
  • Prev by Date: Hunting memory related bugs
  • Next by Date: Re: Hunting memory related bugs
  • Previous by thread: Re: Hunting memory related bugs
  • Next by thread: Re: Baffling Xcode Complaint About Compiling My Object
  • Index(es):
    • Date
    • Thread