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:15:27 +0200
Hi,
Am 20.01.2006 um 20:13 schrieb Eric Albert:
I still can't reproduce this. Which version of gcc are you using
(gcc -v), and what's the exact command line used to invoke the
compiler?
"gcc -v" on the command line gives:
[tbook:~] me% gcc -v
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5250.obj~12/src/configure --
disable-checking -enable-werror --prefix=/usr --mandir=/share/man --
enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg]
[^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --
build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --
target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5250)
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-----
Hope this helps...
Best regards,
Dirk Stegemann
_______________________________________________
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