[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ubuntu and Debian packages / 2013-04-10
From: |
Philippe Roussel |
Subject: |
Re: Ubuntu and Debian packages / 2013-04-10 |
Date: |
Wed, 29 May 2013 11:24:18 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
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.
Philippe
--
What's tan and black and looks great on a lawyer? A doberman.
config.log
Description: Text document