• 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
errors trying to compile with PMTicketRef
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

errors trying to compile with PMTicketRef


  • Subject: errors trying to compile with PMTicketRef
  • From: Bryan Pietrzak <email@hidden>
  • Date: Thu, 8 Jul 2004 16:34:56 -0500

I'm trying to move our application from CW to Xcode and I'm getting an
error:

     cd /Users/bpietrz/Projects/CVS/DexGraphics50
     /usr/bin/gcc-3.3 -x c++ -arch ppc -pipe -Wno-trigraphs -fasm-blocks
-fpascal-strings -g -O0 -mtune=G4 -DDEBUG=1 -fmessage-length=0
-ffix-and-continue -fzero-link
-F/Users/bpietrz/Projects/CVS/DexGraphics50/build
-I/Users/bpietrz/Projects/CVS/DexGraphics50/build/include
-I/Users/bpietrz/Projects/CVS/DexGraphics50/build/DexGraphics50.build/
DexGraphics50.build/DerivedSources
-Wp,-header-mapfile,/Users/bpietrz/Projects/CVS/DexGraphics50/build/
DexGraphics50.build/DexGraphics50.build/DexGraphics.hmap -include
/Users/bpietrz/Projects/CVS/DexGraphics50/build/DexGraphics50.build/
SharedCaches/DexGraphics50_Prefix-blzrtziliuudxlboyuexfcnkerav/
DexGraphics50_Prefix.pch -c
/Users/bpietrz/Projects/CVS/DexGraphics50/source/Printing/
CPrintDialog.cpp -o
/Users/bpietrz/Projects/CVS/DexGraphics50/build/DexGraphics50.build/
DexGraphics50.build/Objects-normal/ppc/CPrintDialog.o
In file included from
/Users/bpietrz/Projects/CVS/DexGraphics50/source/Printing/
CPrintDialog.cpp:18:
/Users/bpietrz/Projects/CVS/DexGraphics50/source/Printing/
CPrintDialog.h:49: error: type specifier omitted for parameter
`PMTicketRef'
...
	In file included from
/Users/bpietrz/Projects/CVS/DexGraphics50/source/Printing/
CPrintDialog.cpp:18:
		/Users/bpietrz/Projects/CVS/DexGraphics50/source/Printing/
CPrintDialog.h:49: error: type specifier omitted for parameter
`PMTicketRef'

The definition (it's in a C++ file)

static OSStatus		GetTicket	(PMPrintSession session, CFStringRef
ticketID, PMTicketRef* ticketPtr);

PMTickets are in ApplicationServices/ApplicationServices.h

So I've added ApplicationServices.framework to this target. My .pch
file has (among other things)

#include <Carbon/Carbon.h>
#include <QuickTime/QuickTime.h>
#include <ApplicationServices/ApplicationServices.h>


I have Precompile Prefix Header checked on in the build styles.

Any ideas on what I'm doing wrong?

Bryan
_______________________________________________
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: PMTicketRef and Frameworks
      • From: Bryan Pietrzak <email@hidden>
  • Prev by Date: erroneous completion behaviour
  • Next by Date: @executable_path frameworks don't work with plugins...
  • Previous by thread: erroneous completion behaviour
  • Next by thread: Re: PMTicketRef and Frameworks
  • Index(es):
    • Date
    • Thread