NSNumber vs NSValue

2010-01-24 Thread Stef Bidi
I've been trying to implement CFNumber and having trouble with
CFNumberCreate() (it takes 3 values, a CFAllocator, a CFNumberType and a
void *).  Since Apple says CFNumber is simply a NSNumber in disguise I
decided to use that class, however, when I send a -initWithBytes:objCType:
to an allocated NSNumber it I get an exception.  Shouldn't this method
return with the correct concrete class for the specified objCType?  Right
now all I get is an exception.  For testing purposes I've using NSValue.

Thanks
Stefan
___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev


Re: GNUStep on Windows

2010-01-24 Thread Vincent Richomme
On Sun, 24 Jan 2010 12:43:36 +0100, Riccardo Mottola 
wrote:
> Hi there,
> 
> Vincent R. wrote:
>> When will you switch to llvm on windows platform ?
>> I can see from website that for now you are releasing a solution based
on
>> msys/mingw-4.4
>> and could it be possible to use a msys/llvm alternative ?
>> Would it work ?
>>
> We are not going to "switch" any time soon.  I don't think GNUstep is 
> going to "switch" anytime soon on other targets either. GCC is currently

> our preferred compiler. David Chisnall is doing some excellent and 
> interesting work in getting llvm and also the libobjc2 runtime to work 
> with GNUstep.
> 
> Our goal is to support llvm+lobobjc2 as a second alternative.
> 
> Supporting llvm on windows could be possible I gues, depending on how 
> good llvm works with the msys environment. But currently I think nobody 
> is working on that directly, David doesn't work on windows and the 
> developers currently active on Windows have their hands full fixing 
> other problems, like theming and backend issues.

Ok so it means I can make some testing in my spare time and try to do some
feedback


___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev


Re: GNUStep on Windows

2010-01-24 Thread Riccardo Mottola

Hi there,

Vincent R. wrote:

When will you switch to llvm on windows platform ?
I can see from website that for now you are releasing a solution based on
msys/mingw-4.4
and could it be possible to use a msys/llvm alternative ?
Would it work ?
   
We are not going to "switch" any time soon.  I don't think GNUstep is 
going to "switch" anytime soon on other targets either. GCC is currently 
our preferred compiler. David Chisnall is doing some excellent and 
interesting work in getting llvm and also the libobjc2 runtime to work 
with GNUstep.


Our goal is to support llvm+lobobjc2 as a second alternative.

Supporting llvm on windows could be possible I gues, depending on how 
good llvm works with the msys environment. But currently I think nobody 
is working on that directly, David doesn't work on windows and the 
developers currently active on Windows have their hands full fixing 
other problems, like theming and backend issues.


Riccardo


___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev