Hi David

Not sure you can specify per file flags, but you may be able to toss it
into a subproject.

Cheers
Chris

On Wed, Aug 8, 2012, at 05:39 PM, David Chisnall wrote:
> Ooops, this is my fault - MsgSendSmallInt should not be being compiled in
> ARC mode.  Does anyone know how to specify per-file OBJCFLAGS with
> GNUstep Make?
> 
> David
> 
> On 8 Aug 2012, at 00:14, Bluna Ratimonkey wrote:
> 
> > Hello,
> > 
> > Recently as I try to compile LK I got these errors
> > 
> >  Compiling file derived_src/NSFramework_LanguageKitCodeGen.m ...
> >  Linking framework LanguageKitCodeGen ...
> > Generating LLVM bitcode for small int messages...
> > ../Runtime/MsgSendSmallInt.m:130:10: error: implicit conversion of 
> > Objective-C pointer type 'id' to C pointer type 'void *' requires a bridged 
> > cast
> >                 return block->invoke(block);
> >                        ^~~~~~~~~~~~~~~~~~~~
> > ../Runtime/MsgSendSmallInt.m:130:10: note: use __bridge to convert directly 
> > (no change in ownership)
> >                 return block->invoke(block);
> >                        ^
> >                        (__bridge void *)(  )
> > ../Runtime/MsgSendSmallInt.m:130:10: note: use __bridge_retained to make an 
> > ARC object available as a +1 'void *'
> >                 return block->invoke(block);
> >                        ^
> >                        (__bridge_retained v)id *)(
> > 
> > Does that look like I should upgrade clang or it is something with the 
> > build configs?
> > 
> > clang version 3.1 (trunk 154748)
> > Target: i386-pc-linux-gnu
> > Thread model: posix
> > 
> > Thank you very much,
> > Al
> > _______________________________________________
> > Etoile-discuss mailing list
> > [email protected]
> > https://mail.gna.org/listinfo/etoile-discuss
> 
> -- Send from my Jacquard Loom
> 
> 
> _______________________________________________
> Etoile-discuss mailing list
> [email protected]
> https://mail.gna.org/listinfo/etoile-discuss
-- 
  Christopher Armstrong
  carmstrong ^^AT^ fastmail dOT com /Dot/ au


_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à