Building ObjC and C++ fails on 10.2
Building ObjC and C++ fails on 10.2
- Subject: Building ObjC and C++ fails on 10.2
- From: John Nairn <email@hidden>
- Date: Fri, 30 Aug 2002 13:18:03 -0600
After upgrading to 10.2, I can no longer build one of my projects that
mixes ObjC and C++. The project has both Obj C files (.m) and mixed
files (.mm). The extra compiler flags are "-cpp-precomp". It fails in
both GCC 2.95 and 3.1. The only error messages is "Build Failed (see
log for details)." Here is the build log which is failing to find a
file i do not recognize?
CompileCplusplus
/Users/jnairn/Programming/Cocoa_Projects/ScienceCocoa/build/
ScienceCocoa.build/Microcracking.build/Objects-normal/ppc/
CommandDocument.o
cc1objplus: CommandDocument.mii: No such file or directory
/usr/bin/g++3 -c
-F/Users/jnairn/Programming/Cocoa_Projects/ScienceCocoa/build
-I/Users/jnairn/Programming/Cocoa_Projects/ScienceCocoa/build/include
-IGeneric "-arch" "ppc" "-fno-common" "-fpascal-strings" "-O0"
"-Wmost" "-Wno-four-char-constants" "-Wno-unknown-pragmas"
"-cpp-precomp" "-pipe" "-fmessage-length=0" "-mdynamic-no-pic" "-g"
"-precomp-trustfile"
"/Users/jnairn/Programming/Cocoa_Projects/ScienceCocoa/build/
ScienceCocoa.build/Microcracking.build/TrustedPrecomps.txt"
"-Wp,-header-mapfile,/Users/jnairn/Programming/Cocoa_Projects/
ScienceCocoa/build/ScienceCocoa.build/Microcracking.build/
ScienceCocoa.hmap" Generic/CommandDocument.mm -o
/Users/jnairn/Programming/Cocoa_Projects/ScienceCocoa/build/
ScienceCocoa.build/Microcracking.build/Objects-normal/ppc/
CommandDocument.o
...failed CompileCplusplus
/Users/jnairn/Programming/Cocoa_Projects/ScienceCocoa/build/
ScienceCocoa.build/Microcracking.build/Objects-normal/ppc/
CommandDocument.o ...
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.