Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

xcode 4 10.7 build

2012-03-10
2013-01-04
  • bob ackerman
    bob ackerman
    2012-03-10

    has anyone figured out how to build it in xcode 4 on 10.7?

     
  • bob ackerman
    bob ackerman
    2012-03-12

    ok. it actually builds but i was scared by the warnings and didn't realize it needed some debugging to run under Xcode 4 debugger - chicken thought there was a command line argument starting '-NS…' which it didn't recognize so it quit.
    anyway - there are a bunch of warnings which may be nice to address at some point:

    Build target Chicken

    CopyStringsFile /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/UninstalledProducts/Chicken.app/Contents/Resources/Japanese.lproj/InfoPlist.strings Resources/Japanese.lproj/InfoPlist.strings
        cd /Users/saucelabs/stuff/cotvnc
        builtin-copyStrings -validate -inputencoding utf-8 -outputencoding UTF-16 -outdir /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/UninstalledProducts/Chicken.app/Contents/Resources/Japanese.lproj - Resources/Japanese.lproj/InfoPlist.strings

    /Users/saucelabs/stuff/cotvnc/Resources/Japanese.lproj/InfoPlist.strings:0: warning: the specified input encoding is Unicode (UTF-8), but file contents appear to be Unicode (UTF-16); treating as Unicode (UTF-16).

    CopyStringsFile /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/UninstalledProducts/Chicken.app/Contents/Resources/French.lproj/Localizable.strings Resources/French.lproj/Localizable.strings
        cd /Users/saucelabs/stuff/cotvnc
        builtin-copyStrings -validate -inputencoding utf-8 -outputencoding UTF-16 -outdir /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/UninstalledProducts/Chicken.app/Contents/Resources/French.lproj - Resources/French.lproj/Localizable.strings

    /Users/saucelabs/stuff/cotvnc/Resources/French.lproj/Localizable.strings:0: warning: the specified input encoding is Unicode (UTF-8), but file contents appear to be Unicode (UTF-16); treating as Unicode (UTF-16).

    CopyStringsFile /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/UninstalledProducts/Chicken.app/Contents/Resources/Japanese.lproj/Localizable.strings Resources/Japanese.lproj/Localizable.strings
        cd /Users/saucelabs/stuff/cotvnc
        builtin-copyStrings -validate -inputencoding utf-8 -outputencoding UTF-16 -outdir /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/UninstalledProducts/Chicken.app/Contents/Resources/Japanese.lproj - Resources/Japanese.lproj/Localizable.strings

    /Users/saucelabs/stuff/cotvnc/Resources/Japanese.lproj/Localizable.strings:0: warning: the specified input encoding is Unicode (UTF-8), but file contents appear to be Unicode (UTF-16); treating as Unicode (UTF-16).

    CopyStringsFile /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/UninstalledProducts/Chicken.app/Contents/Resources/Italian.lproj/Localizable.strings Resources/Italian.lproj/Localizable.strings
        cd /Users/saucelabs/stuff/cotvnc
        builtin-copyStrings -validate -inputencoding utf-8 -outputencoding UTF-16 -outdir /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/UninstalledProducts/Chicken.app/Contents/Resources/Italian.lproj - Resources/Italian.lproj/Localizable.strings

    /Users/saucelabs/stuff/cotvnc/Resources/Italian.lproj/Localizable.strings:0: warning: the specified input encoding is Unicode (UTF-8), but file contents appear to be Unicode (UTF-16); treating as Unicode (UTF-16).

    CompileC /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/d3des.o Source/d3des.c normal i386 c com.apple.compilers.llvm.clang.1_0.compiler
        cd /Users/saucelabs/stuff/cotvnc
        setenv LANG en_US.US-ASCII
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -arch i386 -fmessage-length=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-sign-compare -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -fasm-blocks -Wdeprecated-declarations -mmacosx-version-min=10.7 -g -fvisibility=hidden -Wno-conversion -Wno-sign-conversion -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Chicken.hmap -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Products/Development/include -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/DerivedSources/i386 -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Products/Development -F/Users/saucelabs/stuff/cotvnc/build/Development -F/Users/saucelabs/stuff/cotvnc -MMD -MT dependencies -MF /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/d3des.d -serialize-diagnostics /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/d3des.dia -c /Users/saucelabs/stuff/cotvnc/Source/d3des.c -o /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/d3des.o

    /Users/saucelabs/stuff/cotvnc/Source/d3des.c:74:7: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype
    short edf;
          ^
    /Users/saucelabs/stuff/cotvnc/Source/d3des.h:24:42: note: previous declaration is here
    extern void deskey(unsigned char *, short);
                                             ^
    1 warning generated.

    CompileC /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/FrameBuffer.o Source/FrameBuffer.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
        cd /Users/saucelabs/stuff/cotvnc
        setenv LANG en_US.US-ASCII
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-sign-compare -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -fasm-blocks -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.7 -g -fvisibility=hidden -Wno-conversion -Wno-sign-conversion "-DIBOutlet=__attribute__((iboutlet))" "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" "-DIBAction=void)__attribute__((ibaction)" -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Chicken.hmap -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Products/Development/include -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/DerivedSources/i386 -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Products/Development -F/Users/saucelabs/stuff/cotvnc/build/Development -F/Users/saucelabs/stuff/cotvnc -MMD -MT dependencies -MF /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/FrameBuffer.d -serialize-diagnostics /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/FrameBuffer.dia -c /Users/saucelabs/stuff/cotvnc/Source/FrameBuffer.m -o /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/FrameBuffer.o

    /Users/saucelabs/stuff/cotvnc/Source/FrameBuffer.m:433:68: warning: conflicting parameter types in implementation of 'fillColor:fromPixel:': 'const unsigned char *' vs 'unsigned char *'
    - (void)fillColor:(FrameBufferColor*)fbc fromPixel:(unsigned char*)pixValue {}
                                                        ~~~~~~~~~~~~~~ ^
    /Users/saucelabs/stuff/cotvnc/Source/FrameBuffer.h:90:41: note: previous definition is here
            fromPixel:(const unsigned char*)pixValue;
                             ~~~~~~~~~~~~~~ ^
    /Users/saucelabs/stuff/cotvnc/Source/FrameBuffer.m:435:58: warning: conflicting parameter types in implementation of 'fillRect:withPixel:': 'const unsigned char *' vs 'unsigned char *'
    - (void)fillRect:(NSRect)aRect withPixel:(unsigned char*)pixValue {}
                                              ~~~~~~~~~~~~~~ ^
    /Users/saucelabs/stuff/cotvnc/Source/FrameBuffer.h:91:64: note: previous definition is here
    - (void)fillRect:(NSRect)aRect withPixel:(const unsigned char*)pixValue;
                                                    ~~~~~~~~~~~~~~ ^
    /Users/saucelabs/stuff/cotvnc/Source/FrameBuffer.m:438:56: warning: conflicting parameter types in implementation of 'putRect:fromData:': 'const unsigned char *' vs 'unsigned char *'
    - (void)putRect:(NSRect)aRect fromData:(unsigned char*)data {}
                                            ~~~~~~~~~~~~~~ ^
    /Users/saucelabs/stuff/cotvnc/Source/FrameBuffer.h:94:62: note: previous definition is here
    - (void)putRect:(NSRect)aRect fromData:(const unsigned char*)data;
                                                  ~~~~~~~~~~~~~~ ^
    /Users/saucelabs/stuff/cotvnc/Source/FrameBuffer.m:434:73: warning: conflicting parameter types in implementation of 'fillColor:fromTightPixel:': 'const unsigned char *' vs 'unsigned char *'
    - (void)fillColor:(FrameBufferColor*)fbc fromTightPixel:(unsigned char*)pixValue {}
                                                             ~~~~~~~~~~~~~~ ^
    /Users/saucelabs/stuff/cotvnc/Source/FrameBuffer.h:98:41: note: previous definition is here
       fromTightPixel:(const unsigned char*)pixValue;
                             ~~~~~~~~~~~~~~ ^
    /Users/saucelabs/stuff/cotvnc/Source/FrameBuffer.m:440:59: warning: conflicting parameter types in implementation of 'fillRect:tightPixel:': 'const unsigned char *' vs 'unsigned char *'
    - (void)fillRect:(NSRect)aRect tightPixel:(unsigned char*)pixValue {}
                                               ~~~~~~~~~~~~~~ ^
    /Users/saucelabs/stuff/cotvnc/Source/FrameBuffer.h:99:65: note: previous definition is here
    - (void)fillRect:(NSRect)aRect tightPixel:(const unsigned char*)pixValue;
                                                     ~~~~~~~~~~~~~~ ^
    /Users/saucelabs/stuff/cotvnc/Source/FrameBuffer.m:441:61: warning: conflicting parameter types in implementation of 'putRect:fromTightData:': 'const unsigned char *' vs 'unsigned char *'
    - (void)putRect:(NSRect)aRect fromTightData:(unsigned char*)data {}
                                                 ~~~~~~~~~~~~~~ ^
    /Users/saucelabs/stuff/cotvnc/Source/FrameBuffer.h:100:67: note: previous definition is here
    - (void)putRect:(NSRect)aRect fromTightData:(const unsigned char*)data;
                                                       ~~~~~~~~~~~~~~ ^
    6 warnings generated.

    CompileC /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/KeyChain.o Source/KeyChain.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
        cd /Users/saucelabs/stuff/cotvnc
        setenv LANG en_US.US-ASCII
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-sign-compare -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -fasm-blocks -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.7 -g -fvisibility=hidden -Wno-conversion -Wno-sign-conversion "-DIBOutlet=__attribute__((iboutlet))" "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" "-DIBAction=void)__attribute__((ibaction)" -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Chicken.hmap -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Products/Development/include -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/DerivedSources/i386 -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Products/Development -F/Users/saucelabs/stuff/cotvnc/build/Development -F/Users/saucelabs/stuff/cotvnc -MMD -MT dependencies -MF /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/KeyChain.d -serialize-diagnostics /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/KeyChain.dia -c /Users/saucelabs/stuff/cotvnc/Source/KeyChain.m -o /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/KeyChain.o

    /Users/saucelabs/stuff/cotvnc/Source/KeyChain.m:44:21: warning: using the result of an assignment as a condition without parentheses
            if (itemref = )
                ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/saucelabs/stuff/cotvnc/Source/KeyChain.m:44:21: note: place parentheses around the assignment to silence this warning
            if (itemref = )
                        ^
                (                                                                           )
    /Users/saucelabs/stuff/cotvnc/Source/KeyChain.m:44:21: note: use '==' to turn this assignment into an equality comparison
            if (itemref = )
                        ^
                        ==
    /Users/saucelabs/stuff/cotvnc/Source/KeyChain.m:53:49: warning: conversion specifies type 'int' but the argument has type 'OSStatus' (aka 'long')
                NSLog(@"Couldn't save to keychain: %d", ret);
                                                   ~^   ~~~
                                                   %ld
    /Users/saucelabs/stuff/cotvnc/Source/KeyChain.m:87:17: warning: using the result of an assignment as a condition without parentheses
        if (itemref = )
            ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/saucelabs/stuff/cotvnc/Source/KeyChain.m:87:17: note: place parentheses around the assignment to silence this warning
        if (itemref = )
                    ^
            (                                                                           )
    /Users/saucelabs/stuff/cotvnc/Source/KeyChain.m:87:17: note: use '==' to turn this assignment into an equality comparison
        if (itemref = )
                    ^
                    ==
    3 warnings generated.

    CompileC /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/ServerDataManager.o Source/ServerDataManager.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
        cd /Users/saucelabs/stuff/cotvnc
        setenv LANG en_US.US-ASCII
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-sign-compare -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -fasm-blocks -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.7 -g -fvisibility=hidden -Wno-conversion -Wno-sign-conversion "-DIBOutlet=__attribute__((iboutlet))" "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" "-DIBAction=void)__attribute__((ibaction)" -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Chicken.hmap -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Products/Development/include -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/DerivedSources/i386 -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Products/Development -F/Users/saucelabs/stuff/cotvnc/build/Development -F/Users/saucelabs/stuff/cotvnc -MMD -MT dependencies -MF /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/ServerDataManager.d -serialize-diagnostics /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/ServerDataManager.dia -c /Users/saucelabs/stuff/cotvnc/Source/ServerDataManager.m -o /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/ServerDataManager.o

    /Users/saucelabs/stuff/cotvnc/Source/ServerDataManager.m:496:37: warning: sending 'ServerDataManager *' to parameter of incompatible type 'id<NSNetServiceBrowserDelegate>'
                            ;
                                                             ^~~~
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNetServices.h:180:55: note: passing argument to parameter 'delegate' here
    - (void)setDelegate:(id <NSNetServiceBrowserDelegate>)delegate;
                                                          ^
    /Users/saucelabs/stuff/cotvnc/Source/ServerDataManager.m:502:37: warning: sending 'ServerDataManager *' to parameter of incompatible type 'id<NSNetServiceBrowserDelegate>'
                            ;
                                                             ^~~~
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNetServices.h:180:55: note: passing argument to parameter 'delegate' here
    - (void)setDelegate:(id <NSNetServiceBrowserDelegate>)delegate;
                                                          ^
    2 warnings generated.

    CompileC /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/KeyEquivalentPrefsController.o Source/KeyEquivalentPrefsController.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
        cd /Users/saucelabs/stuff/cotvnc
        setenv LANG en_US.US-ASCII
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-sign-compare -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -fasm-blocks -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.7 -g -fvisibility=hidden -Wno-conversion -Wno-sign-conversion "-DIBOutlet=__attribute__((iboutlet))" "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" "-DIBAction=void)__attribute__((ibaction)" -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Chicken.hmap -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Products/Development/include -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/DerivedSources/i386 -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Products/Development -F/Users/saucelabs/stuff/cotvnc/build/Development -F/Users/saucelabs/stuff/cotvnc -MMD -MT dependencies -MF /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/KeyEquivalentPrefsController.d -serialize-diagnostics /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/KeyEquivalentPrefsController.dia -c /Users/saucelabs/stuff/cotvnc/Source/KeyEquivalentPrefsController.m -o /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/KeyEquivalentPrefsController.o

    /Users/saucelabs/stuff/cotvnc/Source/KeyEquivalentPrefsController.m:307:25: warning: sending 'KeyEquivalentPrefsController *' to parameter of incompatible type 'id<NSWindowDelegate>'
                            ;
                                                 ^~~~
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:308:44: note: passing argument to parameter 'anObject' here
    - (void)setDelegate:(id <NSWindowDelegate>)anObject;
                                               ^
    1 warning generated.

    CompileC /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/ServerFromRendezvous.o Source/ServerFromRendezvous.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
        cd /Users/saucelabs/stuff/cotvnc
        setenv LANG en_US.US-ASCII
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-sign-compare -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -fasm-blocks -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.7 -g -fvisibility=hidden -Wno-conversion -Wno-sign-conversion "-DIBOutlet=__attribute__((iboutlet))" "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" "-DIBAction=void)__attribute__((ibaction)" -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Chicken.hmap -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Products/Development/include -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/DerivedSources/i386 -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Products/Development -F/Users/saucelabs/stuff/cotvnc/build/Development -F/Users/saucelabs/stuff/cotvnc -MMD -MT dependencies -MF /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/ServerFromRendezvous.d -serialize-diagnostics /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/ServerFromRendezvous.dia -c /Users/saucelabs/stuff/cotvnc/Source/ServerFromRendezvous.m -o /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/ServerFromRendezvous.o

    /Users/saucelabs/stuff/cotvnc/Source/ServerFromRendezvous.m:53:25: warning: sending 'ServerFromRendezvous *' to parameter of incompatible type 'id<NSNetServiceDelegate>'
                    ;
                                          ^~~~
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNetServices.h:82:48: note: passing argument to parameter 'delegate' here
    - (void)setDelegate:(id <NSNetServiceDelegate>)delegate;
                                                   ^
    /Users/saucelabs/stuff/cotvnc/Source/ServerFromRendezvous.m:57:5: warning: 'resolve' is deprecated
                            ;
                             ^
    2 warnings generated.

    CompileC /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/AppDelegate.o Source/AppDelegate.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
        cd /Users/saucelabs/stuff/cotvnc
        setenv LANG en_US.US-ASCII
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-sign-compare -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -fasm-blocks -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.7 -g -fvisibility=hidden -Wno-conversion -Wno-sign-conversion "-DIBOutlet=__attribute__((iboutlet))" "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" "-DIBAction=void)__attribute__((ibaction)" -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Chicken.hmap -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Products/Development/include -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/DerivedSources/i386 -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Products/Development -F/Users/saucelabs/stuff/cotvnc/build/Development -F/Users/saucelabs/stuff/cotvnc -MMD -MT dependencies -MF /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/AppDelegate.d -serialize-diagnostics /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/AppDelegate.dia -c /Users/saucelabs/stuff/cotvnc/Source/AppDelegate.m -o /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/AppDelegate.o

    /Users/saucelabs/stuff/cotvnc/Source/AppDelegate.m:45:24: warning: 'copyPath:toPath:handler:' is deprecated
                success = [fileManager copyPath:cotvncPref toPath:chickenPref
                           ^
    1 warning generated.

    CompileC /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/Session.o Source/Session.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
        cd /Users/saucelabs/stuff/cotvnc
        setenv LANG en_US.US-ASCII
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-sign-compare -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -fasm-blocks -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.7 -g -fvisibility=hidden -Wno-conversion -Wno-sign-conversion "-DIBOutlet=__attribute__((iboutlet))" "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" "-DIBAction=void)__attribute__((ibaction)" -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Chicken.hmap -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Products/Development/include -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/DerivedSources/i386 -I/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Products/Development -F/Users/saucelabs/stuff/cotvnc/build/Development -F/Users/saucelabs/stuff/cotvnc -MMD -MT dependencies -MF /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/Session.d -serialize-diagnostics /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/Session.dia -c /Users/saucelabs/stuff/cotvnc/Source/Session.m -o /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/Session.o

    /Users/saucelabs/stuff/cotvnc/Source/Session.m:698:23: warning: sending 'Session *' to parameter of incompatible type 'id<NSWindowDelegate>'
            ;
                                 ^~~~
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:308:44: note: passing argument to parameter 'anObject' here
    - (void)setDelegate:(id <NSWindowDelegate>)anObject;
                                               ^
    /Users/saucelabs/stuff/cotvnc/Source/Session.m:744:24: warning: sending 'Session *' to parameter of incompatible type 'id<NSWindowDelegate>'
                    ;
                                         ^~~~
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:308:44: note: passing argument to parameter 'anObject' here
    - (void)setDelegate:(id <NSWindowDelegate>)anObject;
                                               ^
    /Users/saucelabs/stuff/cotvnc/Source/Session.m:796:20: warning: instance method '-getFullScreenMenuItem' not found (return type defaults to 'id')
            menuItem = [[ delegate] getFullScreenMenuItem];
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    3 warnings generated.

    Ld /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/UninstalledProducts/Chicken.app/Contents/MacOS/Chicken normal i386
        cd /Users/saucelabs/stuff/cotvnc
        setenv MACOSX_DEPLOYMENT_TARGET 10.7
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -L/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Products/Development -F/Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Products/Development -F/Users/saucelabs/stuff/cotvnc/build/Development -F/Users/saucelabs/stuff/cotvnc -filelist /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/Chicken.LinkFileList -mmacosx-version-min=10.7 -framework Cocoa -lz -framework Carbon -framework Security -o /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/UninstalledProducts/Chicken.app/Contents/MacOS/Chicken

    ld: warning: directory not found for option '-F/Users/saucelabs/stuff/cotvnc/build/Development'
    ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in _jsimd_rgb_ycc_convert_mmx.rgb_ycc_cnv from /Users/saucelabs/Library/Developer/Xcode/DerivedData/Chicken-ejakcivyyvaupvcckbbpcjiipaof/Build/Intermediates/Chicken.build/Development/Chicken.build/Objects-normal/i386/jccolmmx.o. To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie

     
  • dustinac
    dustinac
    2012-03-13

    I build Chicken on OS X 10.6 with Xcode 3.2 against the 10.4 SDK (and at one point, I had even planned to support 10.3!). Some of your warnings are things which should be fixed, but they didn't give warnings for me because clang (the compiler in recent Xcodes) tends to be more particular about warnings than gcc (used by Xcode 3.2). I think the rest are simply changes in the SDK. For example, Apple has moved from having delegates be of type "id" to having them belong to a specific protocol. To add compatibility with the 10.7 SDK, you just add the appropriate protocols to the classes, but that would mean giving up compatibility with 10.4, which I'm not willing to do at this point. I think you would get rid of some of this warnings by compiling against the 10.5 SDK, which I believe is the earliest one supported by Xcode 4. In any case, while some of these warnings would be nice to fix, I don't think any of them is critical.

    As for the the command line argument, I'm not sure what the purpose of passing this argument is, but command line argument processing is done in runFromCommandLine in RFBConnectionManager.m. It should be straightforward to modify this to ignore the Xcode argument, just as arguments beginning with -psn are ignored.

     
  • bob ackerman
    bob ackerman
    2012-03-13

    i manually edited the project file to remove the Universal Fast Development section; i changed the project settings to be 10.7 architecture; i commented out the line checking for command line arguments. so there are many warnings but it builds now and runs and works on 10.7. adding the protocol to the classes does work to eliminate those warnings. i was not able to connect to other macs with screen sharing on - i tested it by connecting to a windows box.

     
  • bob ackerman
    bob ackerman
    2012-03-21

    even with all the warnings it does build and runs ok - except for 1 error in RFBView.m where an array of ints has to be changed to an array of longs.

     
  • bob ackerman
    bob ackerman
    2012-06-19

    so i have been running it ok on 10.7 and even made 1 change to run in a 64bit build - but one user can crash it even though i can't. crashes in TrueColorFrameBuffer drawRect in a memcopy call. is it a 64bit issue? or Tight protocol issue? i don't know.

     
  • dustinac
    dustinac
    2012-06-20

    I wish I could help you, but 64-bit is a low priority for me right now. There may be any number of places where Chicken makes 32-bit assumptions, but I don't have the time right now to track them down. The FrameBuffer code is ugly and the Tight code is rather large so these are both likely places for a bug.

    I'd be happy to incorporate the changes you've made if you can submit them as a patch: https://sourceforge.net/tracker/?func=add&group_id=364722&atid=1521167

     
  • bob ackerman
    bob ackerman
    2012-06-20

    turns out it was the 64bit build that causes crash. i haven't made any real changes for lion and just the one change for 64-bit build which isn't good enough. i should be able to post some changes when i have solved the 64-bit issues.