Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion bugs
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Andreas Fink  
View profile  
 More options Sep 10 2012, 11:56 am
From: Andreas Fink <andr...@fink.org>
Date: Mon, 10 Sep 2012 15:56:42 +0000
Local: Mon, Sep 10 2012 11:56 am
Subject: bugs
While porting our App into cocotron, we figured out a few issues which are worth fixing:

a)

[NSNumber numberWithDouble:somevalue] seems to always return nil.
[NSNumber numberWithInt:someintvalue]  however works.

I couldn't figure out where the error occurs but it looks like the generic NSNumber object gets allocated instead of the subclassed NSNumber_double or something like that.

b) Foundation code inside pthreads don't work if you create them using pthread library calls. In our case it did crash at the first NSAutoreleasePool alloc/init sequence. The workaround was to use NSThread instead

b) Another problem we run into is @synchronized not working if its cascaded. But only in threads apparently. This might be compiler specific or runtime library specific. We did compile cocotron under Linux with LLVM Clang 3.2 using the gnustep-libobjc2 runtime. While doing all this , we did also run into some crash of svn clang which got fixed within a couple of days by the clang developers and the stock version of gdb was also terribly confused until gdb was installed from source. We have it now compiling natively under CentOS, Debian and Ubuntu (and probably others). If anyone wants to have the Makefiles, let me know.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.