Re: GCC for i386 allows 'invalid suffix "f" on integer constant'
Re: GCC for i386 allows 'invalid suffix "f" on integer constant'
- Subject: Re: GCC for i386 allows 'invalid suffix "f" on integer constant'
- From: Dirk Stegemann <email@hidden>
- Date: Fri, 20 Jan 2006 22:39:36 +0200
Just for completeness, that's the "main.cpp" file's content which
lead to the build transcripts:
-----snip-----
#include <iostream>
int main (int argc, char * const argv[]) {
float f = 2F;
printf("f = %f", f);
return 0;
}
-----snip-----
I can send you the whole project if that would help to track down the
issue.
Best regards,
Dirk Stegemann
Am 20.01.2006 um 22:15 schrieb Dirk Stegemann:
That's the build transcript for the succeeding i386 build (after a
"clean all"):
-----snip-----
Building target “YAC++Tool” of project “YAC++Tool”
Checking Dependencies
CompileC "/Users/me/Documents/Xcode Projects/_Intermediate files/YAC
++Tool.build/Release/YAC++Tool.build/Objects-normal/i386/main.o" "/
Users/me/Documents/Xcode Projects/YAC++Tool/main.cpp" normal i386 c+
+ com.apple.compilers.gcc.4_0
cd "/Users/me/Documents/Xcode Projects/YAC++Tool"
/usr/bin/gcc-4.0 -x c++ -arch i386 -pipe -Wno-trigraphs -
fpascal-strings -fasm-blocks -Os -Wreturn-type -Wunused-variable -
fmessage-length=0 -fvisibility=hidden -fvisibility-inlines-hidden -
Wno-invalid-offsetof -mmacosx-version-min=10.4 -I/Users/me/
Documents/Xcode\ Projects/_Intermediate\ files/YAC++Tool.build/
Release/YAC++Tool.build/YAC++Tool.hmap -mdynamic-no-pic -F/Users/me/
Documents/Xcode\ Projects/_Shared\ build\ folder/Release -I/Users/
me/Documents/Xcode\ Projects/_Shared\ build\ folder/Release/include
-I/Users/me/Documents/Xcode\ Projects/_Intermediate\ files/YAC+
+Tool.build/Release/YAC++Tool.build/DerivedSources -isysroot /
Developer/SDKs/MacOSX10.4u.sdk -c /Users/me/Documents/Xcode\
Projects/YAC++Tool/main.cpp -o /Users/me/Documents/Xcode\ Projects/
_Intermediate\ files/YAC++Tool.build/Release/YAC++Tool.build/
Objects-normal/i386/main.o
Ld "/Users/me/Documents/Xcode Projects/_Shared build folder/Release/
YAC++Tool" normal i386
cd "/Users/me/Documents/Xcode Projects/YAC++Tool"
/usr/bin/g++-4.0 -o /Users/me/Documents/Xcode\ Projects/_Shared
\ build\ folder/Release/YAC++Tool -L/Users/me/Documents/Xcode\
Projects/_Shared\ build\ folder/Release -F/Users/me/Documents/Xcode
\ Projects/_Shared\ build\ folder/Release -filelist /Users/me/
Documents/Xcode\ Projects/_Intermediate\ files/YAC++Tool.build/
Release/YAC++Tool.build/Objects-normal/i386/YAC++Tool.LinkFileList -
arch i386 -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/
MacOSX10.4u.sdk
-----snip-----
That's the build transcript for the failing ppc build (after a
"clean all"):
-----snip-----
Building target “YAC++Tool” of project “YAC++Tool”
Checking Dependencies
CompileC "/Users/me/Documents/Xcode Projects/_Intermediate files/YAC
++Tool.build/Release/YAC++Tool.build/Objects-normal/ppc/main.o" "/
Users/me/Documents/Xcode Projects/YAC++Tool/main.cpp" normal ppc c+
+ com.apple.compilers.gcc.4_0
cd "/Users/me/Documents/Xcode Projects/YAC++Tool"
/usr/bin/gcc-4.0 -x c++ -arch ppc -pipe -Wno-trigraphs -fpascal-
strings -fasm-blocks -Os -Wreturn-type -Wunused-variable -fmessage-
length=0 -mtune=G5 -fvisibility=hidden -fvisibility-inlines-hidden -
Wno-invalid-offsetof -mmacosx-version-min=10.4 -I/Users/me/
Documents/Xcode\ Projects/_Intermediate\ files/YAC++Tool.build/
Release/YAC++Tool.build/YAC++Tool.hmap -mdynamic-no-pic -F/Users/me/
Documents/Xcode\ Projects/_Shared\ build\ folder/Release -I/Users/
me/Documents/Xcode\ Projects/_Shared\ build\ folder/Release/include
-I/Users/me/Documents/Xcode\ Projects/_Intermediate\ files/YAC+
+Tool.build/Release/YAC++Tool.build/DerivedSources -isysroot /
Developer/SDKs/MacOSX10.4u.sdk -c /Users/me/Documents/Xcode\
Projects/YAC++Tool/main.cpp -o /Users/me/Documents/Xcode\ Projects/
_Intermediate\ files/YAC++Tool.build/Release/YAC++Tool.build/
Objects-normal/ppc/main.o
/Users/me/Documents/Xcode Projects/YAC++Tool/main.cpp:5:12: error:
invalid suffix "F" on integer constant
-----snip-----
_______________________________________________
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