• 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
RESEND: What's with XCode not locating my '.pch' files?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RESEND: What's with XCode not locating my '.pch' files?


  • Subject: RESEND: What's with XCode not locating my '.pch' files?
  • From: Lance Drake <email@hidden>
  • Date: Sun, 20 Jun 2004 16:31:12 -0600

RESEND TO LIST - for some reason it got kicked back...
------------------------------------------------------

Hi Guys - Well it looks like everybody was right... at least to some degree. The prefix file for my project is now being recognized by the compiler if it is 'included' in another file.

If I add the file to my 'main.c' file, I know it's being accessed because I put some junk on a line which then generates an error. However - if I remove that inclusion from the main.c file and simply let the compiler 'do the prefix-thang' - no errors are generated where it's obvious (from subsequent complied files reporting warnings, etc) that the precompile of the prefix file did not happen.

Adding various header paths (private and public) did not provide any forward progress.

The file is located right next to the project bundle in the root folder of the project, I do a 'clean' and 'reindex' before compiling but the file continues to be dutifully ignored. Do you think mebbe I SHOULD write this up?

In any event - I surely appreciate the attention and good suggestions about a possible remedy.

Best Regards,

Lance Drake

------------------------------------------------------------------------ ---------
Here are the project particulars:


32CA4F630368D1EE00C91783 =
{
explicitFileType = sourcecode.c.h;
fileEncoding = 4;
isa = PBXFileReference;
path = Panther_Prefix.h;
refType = 2;
sourceTree = SOURCE_ROOT;
};

buildSettings =
{
COPY_PHASE_STRIP = NO;
DEBUGGING_SYMBOLS = YES;
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_FIX_AND_CONTINUE = NO;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_INPUT_FILETYPE = automatic;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PFE_FILE_C_DIALECTS = "";
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = Panther_Prefix.h;
INFOPLIST_FILE = PlistFiles/Info.plist;
OPTIMIZATION_CFLAGS = "-O0";
OTHER_CPLUSPLUSFLAGS = "";
PREBINDING = YES;
ZERO_LINK = NO;
};


buildSettings = { FRAMEWORK_SEARCH_PATHS = "\"$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks\""; GCC_ENABLE_TRIGRAPHS = NO; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GCC_MODEL_TUNING = G4; GCC_OPTIMIZATION_LEVEL = 0; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = Panther_Prefix.h; GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO; GCC_WARN_UNKNOWN_PRAGMAS = NO; HEADER_SEARCH_PATHS = ""; INFOPLIST_FILE = Info.plist; INSTALL_PATH = "$(HOME)/Applications"; LIBRARY_SEARCH_PATHS = ""; OTHER_CFLAGS = ""; OTHER_LDFLAGS = ""; PRODUCT_NAME = TestApp; SECTORDER_FLAGS = ""; WARNING_CFLAGS = "-Wmost -Wno-four-char-constants -Wno-unknown-pragmas"; WRAPPER_EXTENSION = app; };

// ------------------------------------------------------------
_______________________________________________
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.


  • Prev by Date: Re: xCode Applescript.
  • Next by Date: Xcode 1.2 and runtime executable concurrency
  • Previous by thread: Re: What's with XCode not locating my '.pch' files?
  • Next by thread: Xcode 1.2 and runtime executable concurrency
  • Index(es):
    • Date
    • Thread