Menu

#243 Unable to compile pidgin-sipe-20140421git9df2685 for Adium

closed-invalid
nobody
None
Compilation
5
2014-04-21
2014-04-21
Bob
No

When I try to compile via xcode, the build fails in AICompletingTextField.m with the message

The result of a delegate init call must be immediately returned or assigend to 'self'

Portion of code that shows error is:

//Init the field
- (id)initWithCoder:(NSCoder *)aDecoder
{
if ((self = [super initWithCoder:aDecoder])) {
[self _init];
}
return self;
}

  • (id)initWithFrame:(NSRect)frameRect
    {
    if ((self = [super initWithFrame:frameRect])) {
    [self _init];
    }
    return self;
    }

Discussion

  • Stefan Becker

    Stefan Becker - 2014-04-21
    • status: open --> closed-invalid
     
  • Stefan Becker

    Stefan Becker - 2014-04-21

    I guess you wanted to report a bug against another project. I don't see that code anywhere in SIPE:

    $ git pull
    Already up-to-date.
    
    $ git log -n1 --oneline
    9df2685 Fix #240: Corrupted HTTP response crashes SIPE
    
    $ find * -type f | xargs fgrep -e initWithCoder -e initWithFrame
    $
    

    Closing as INVALID

     
  • Bob

    Bob - 2014-04-21

    It's in the AIUtilities.framework. I receive the message "Build SIPEAdiumPlugin: Failed". Attaching screenshot

     
  • Stefan Becker

    Stefan Becker - 2014-04-21

    That's Adium code, not SIPE code. Adium source code must be compiled to build an Adium plugin against it.

    I would check your Adium source code or if something is wrong with your Mercurial branch/checkout.

     

Log in to post a comment.