Re: [kde-freebsd] attempt to compile kdelibs-4.7.3 with clang.

2011-12-30 Thread Raphael Kubo da Costa
Chuck Burns writes: > In file included from > /usr/ports/x11/kdelibs4/work/kdelibs-4.7.3/kjs/lookup.cpp:23: > /usr/ports/x11/kdelibs4/work/kdelibs-4.7.3/kjs/lookup.h:324:33: error: > static_cast from 'KJS::JSGlobalObject *' to 'KJS::JSObject *' is not > allowed > KJS::JSObject *globalObject = s

Re: [kde-freebsd] attempt to compile kdelibs-4.7.3 with clang.

2011-12-23 Thread Alberto Villa
On Friday 23 December 2011 18:04:09 Raphael Kubo da Costa wrote: > Then at least give us a hint on what the problem is, I don't like > mysteries ;) I don't remember, I just know I fixed something similar in qt4-webkit months ago. -- Alberto Villa, FreeBSD committer http://people.FreeBSD.org/~av

Re: [kde-freebsd] attempt to compile kdelibs-4.7.3 with clang.

2011-12-23 Thread Raphael Kubo da Costa
Alberto Villa writes: > On Friday 23 December 2011 16:28:22 David Naylor wrote: >> Clang aims to be compatible with gcc and if gcc can compile the file then >> it is quite possible a clang bug although clang will not support >> everything gcc does. > > I think I know what the problem is, and how

Re: [kde-freebsd] attempt to compile kdelibs-4.7.3 with clang.

2011-12-23 Thread Alberto Villa
On Friday 23 December 2011 16:28:22 David Naylor wrote: > Clang aims to be compatible with gcc and if gcc can compile the file then > it is quite possible a clang bug although clang will not support > everything gcc does. I think I know what the problem is, and how to solve it. I just won't do it

Re: [kde-freebsd] attempt to compile kdelibs-4.7.3 with clang.

2011-12-23 Thread David Naylor
On Sunday, 18 December 2011 04:26:40 Chuck Burns wrote: > In file included from > /usr/ports/x11/kdelibs4/work/kdelibs-4.7.3/kjs/lookup.cpp:23: > /usr/ports/x11/kdelibs4/work/kdelibs-4.7.3/kjs/lookup.h:324:33: error: > static_cast from 'KJS::JSGlobalObject *' to 'KJS::JSObject *' is not > allowed K

[kde-freebsd] attempt to compile kdelibs-4.7.3 with clang.

2011-12-17 Thread Chuck Burns
In file included from /usr/ports/x11/kdelibs4/work/kdelibs-4.7.3/kjs/lookup.cpp:23: /usr/ports/x11/kdelibs4/work/kdelibs-4.7.3/kjs/lookup.h:324:33: error: static_cast from 'KJS::JSGlobalObject *' to 'KJS::JSObject *' is not allowed KJS::JSObject *globalObject = static_cast*>(exec->lexicalInterp