Hi Riccardo,
I am using debian with gcc 4.6 and GNUstep was working fine for me, but I 
haven't updated base in about a week. Looks like r33027 on may 12 added the 
#import <objc/encoding.h>
to cifframe.m which broke the build for gcc46.
Eric


On 2011-05-18, at 1:12 AM, Riccardo Mottola wrote:

> Hi,
> 
> I tried cleaning and reconfiguring and reinstallng make and base, but it 
> still doesn't work.
> 
> Do we support gcc 4.6 at all? Apparently the headers get upset if we try to 
> use both runtimes.
> 
> Riccardo
> 
> On 05/17/2011 11:49 AM, Riccardo Mottola wrote:
>> Hi,
>> 
>> I upgraded debian and now I cannot build base anymore:
>> 
>> Compiling file cifframe.m ...
>> In file included from 
>> /usr/lib/gcc/i486-linux-gnu/4.6.1/include/objc/encoding.h:37:0,
>>                 from cifframe.m:27:
>> /usr/lib/gcc/i486-linux-gnu/4.6.1/include/objc/objc-api.h:46:3: error: 
>> #error You can not include both objc/objc-api.h and objc/runtime.h. Include 
>> objc/objc-api.h for the traditional GNU Objective-C Runtime API and 
>> objc/runtime.h for the modern one.
>> In file included from 
>> /usr/lib/gcc/i486-linux-gnu/4.6.1/include/objc/encoding.h:37:0,
>>                 from cifframe.m:27:
>> ...
>> 
>> 
>> gcc --version
>> gcc (Debian 4.6.0-7) 4.6.1 20110507 (prerelease)
>> 
>> 
>> 
>> Any ideas ?
>> 
>> Riccardo
>> 
>> _______________________________________________
>> Gnustep-dev mailing list
>> [email protected]
>> https://lists.gnu.org/mailman/listinfo/gnustep-dev
> 
> 
> _______________________________________________
> Gnustep-dev mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/gnustep-dev


_______________________________________________
Gnustep-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to