gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ubuntu and Debian packages / 2013-04-10


From: Niels Grewe
Subject: Re: Ubuntu and Debian packages / 2013-04-10
Date: Wed, 29 May 2013 09:33:08 +0000

Am 29.05.2013 um 11:24 schrieb Philippe Roussel <address@hidden>:

> On Wed, May 29, 2013 at 08:44:51AM +0000, Niels Grewe wrote:
>> 
>> On 29.05.2013 10:06CEST Philippe Roussel <address@hidden> wrote:
>> 
>>> Hi Niels,
>>> 
>>> On Wed, May 29, 2013 at 07:27:09AM +0000, Niels Grewe wrote:
>>>>> Compiling with clang is tempting but it seems people in the clang camp
>>>>> are moving too fast : I can't compike dbuskit with clang 3.0 from
>>>>> ubuntu 12.10 for example.
>>>> 
>>>> Woopsie. I still had local changes to dbuskit for some clang problems. I 
>>>> committed them now. My intention is that DBusKit trunk should always 
>>>> compile cleanly both with (recent-ish, I guess) gcc and clang. If it 
>>>> doesn't: Please complain loudly ;-)
>>> 
>>> Ok, you asked for it !
>> 
>> Sure :-)
>> 
>>> Errors compiling dbuskit after svn up; make distclean; ./configure
>>> 
>>> DKMethod.m:211:19: error: implicit declaration of function 
>>> 'clang_Cursor_getNumArguments' is invalid in C99 
>>> [-Werror,-Wimplicit-function-declaration]
>>> int argCount  = clang_Cursor_getNumArguments(cursor);
>>>                 ^
>>> DKMethod.m:214:20: error: implicit declaration of function 
>>> 'clang_Cursor_getArgument' is invalid in C99 
>>> [-Werror,-Wimplicit-function-declaration]
>>>   CXCursor arg = clang_Cursor_getArgument(cursor, i);
>>>                  ^
>>> DKMethod.m:214:14: error: initializing 'CXCursor' with an expression of 
>>> incompatible type 'int'; 
>>>   CXCursor arg = clang_Cursor_getArgument(cursor, i);
>>>            ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> 
>> That could be an incorrectly detected libclang. Is it installed? Could you 
>> send me your config.log?
> 
> Here it is.

Mystery solved. It is detected correctly, but libclang from the 3.0 release is 
missing those functions. I'll add an explicit test for them and disable the 
libclang introspection generator if they're missing.

Niels


reply via email to

[Prev in Thread] Current Thread [Next in Thread]