Hi All,

I try to compile the HelloWorld language module in Xcode on OS X 10.9 (13A603), 
but get the errors listed below. I’ve tried to target both the 32 and 64 bit 
architectures. Is this a known issue? If not, how do you go about building this?

Thanks,

Damian

————————————————————————————————————————
Errors
————————————————————————————————————————


CompileC 
/Users/damiancarrillo/Library/Developer/Xcode/DerivedData/HelloWorld-heujjtrgvnreflgbbzfrsfmyxugq/Build/Intermediates/HelloWorld.build/Debug/Hello\
 World.build/Objects-normal/x86_64/HelloWorld-823973D5685FDA7C.o HelloWorld.c 
normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
    cd "/Users/damiancarrillo/Development/BBEdit SDK/Examples/HelloWorldMachO"
    setenv LANG en_US.US-ASCII
    
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
 -x c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack 
-fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Werror 
-Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type 
-Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function 
-Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value 
-Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow 
-Wno-four-char-constants -Wno-conversion -Wno-constant-conversion 
-Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion 
-Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
 -fasm-blocks -fstrict-aliasing -Wno-deprecated-declarations 
-mmacosx-version-min=10.4 -g -Wno-sign-conversion 
-I/Users/damiancarrillo/Library/Developer/Xcode/DerivedData/HelloWorld-heujjtrgvnreflgbbzfrsfmyxugq/Build/Intermediates/HelloWorld.build/Debug/Hello\
 World.build/Hello\ World.hmap 
-I/Users/damiancarrillo/Library/Developer/Xcode/DerivedData/HelloWorld-heujjtrgvnreflgbbzfrsfmyxugq/Build/Products/Debug/include
 
-I/Users/damiancarrillo/Library/Developer/Xcode/DerivedData/HelloWorld-heujjtrgvnreflgbbzfrsfmyxugq/Build/Intermediates/HelloWorld.build/Debug/Hello\
 World.build/DerivedSources/x86_64 
-I/Users/damiancarrillo/Library/Developer/Xcode/DerivedData/HelloWorld-heujjtrgvnreflgbbzfrsfmyxugq/Build/Intermediates/HelloWorld.build/Debug/Hello\
 World.build/DerivedSources -Wmost -Wno-four-char-constants 
-Wno-unknown-pragmas 
-F/Users/damiancarrillo/Library/Developer/Xcode/DerivedData/HelloWorld-heujjtrgvnreflgbbzfrsfmyxugq/Build/Products/Debug
 -MMD -MT dependencies -MF 
/Users/damiancarrillo/Library/Developer/Xcode/DerivedData/HelloWorld-heujjtrgvnreflgbbzfrsfmyxugq/Build/Intermediates/HelloWorld.build/Debug/Hello\
 World.build/Objects-normal/x86_64/HelloWorld-823973D5685FDA7C.d 
--serialize-diagnostics 
/Users/damiancarrillo/Library/Developer/Xcode/DerivedData/HelloWorld-heujjtrgvnreflgbbzfrsfmyxugq/Build/Intermediates/HelloWorld.build/Debug/Hello\
 World.build/Objects-normal/x86_64/HelloWorld-823973D5685FDA7C.dia -c 
/Users/damiancarrillo/Development/BBEdit\ 
SDK/Examples/HelloWorldMachO/HelloWorld.c -o 
/Users/damiancarrillo/Library/Developer/Xcode/DerivedData/HelloWorld-heujjtrgvnreflgbbzfrsfmyxugq/Build/Intermediates/HelloWorld.build/Debug/Hello\
 World.build/Objects-normal/x86_64/HelloWorld-823973D5685FDA7C.o

In file included from /Users/damiancarrillo/Development/BBEdit 
SDK/Examples/HelloWorldMachO/HelloWorld.c:3:
In file included from /Users/damiancarrillo/Development/BBEdit 
SDK/Examples/HelloWorldMachO/../../Interfaces/Tools/BBXTInterface.h:5:
In file included from /Users/damiancarrillo/Development/BBEdit 
SDK/Examples/HelloWorldMachO/../../Interfaces/Tools/BBXTImplementationMacros.h:14:
/Users/damiancarrillo/Development/BBEdit 
SDK/Examples/HelloWorldMachO/../../Interfaces/Tools/BBXTInterfaceStructsAndEnums.h:15:9:
 error: mac68k alignment pragma is not supported on this target
#pragma options align=mac68k
        ^
/Users/damiancarrillo/Development/BBEdit 
SDK/Examples/HelloWorldMachO/../../Interfaces/Tools/BBXTInterfaceStructsAndEnums.h:170:9:
 error: #pragma options align=reset failed: stack empty [-Werror]
#pragma options align=reset
        ^
In file included from /Users/damiancarrillo/Development/BBEdit 
SDK/Examples/HelloWorldMachO/HelloWorld.c:3:
In file included from /Users/damiancarrillo/Development/BBEdit 
SDK/Examples/HelloWorldMachO/../../Interfaces/Tools/BBXTInterface.h:5:
/Users/damiancarrillo/Development/BBEdit 
SDK/Examples/HelloWorldMachO/../../Interfaces/Tools/BBXTImplementationMacros.h:16:9:
 error: mac68k alignment pragma is not supported on this target
#pragma options align=mac68k
        ^
/Users/damiancarrillo/Development/BBEdit 
SDK/Examples/HelloWorldMachO/../../Interfaces/Tools/BBXTImplementationMacros.h:350:9:
 error: #pragma options align=reset failed: stack empty [-Werror]
#pragma options align=reset
        ^
/Users/damiancarrillo/Development/BBEdit 
SDK/Examples/HelloWorldMachO/HelloWorld.c:25:4: error: implicit declaration of 
function 'BlockMoveData' is invalid in C99 
[-Werror,-Wimplicit-function-declaration]
                        BlockMoveData(&str[1],*h,str[0]);
                        ^
/Users/damiancarrillo/Development/BBEdit 
SDK/Examples/HelloWorldMachO/HelloWorld.c:47:3: error: implicit declaration of 
function 'GetIndString' is invalid in C99 
[-Werror,-Wimplicit-function-declaration]
                GetIndString(str, 128, 1);      // don't ever hard code 
constants at home!
                ^
6 errors generated.


-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].

Reply via email to