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 KJS::JSObject *globalObject = static_cast<KJS::JSObject > *>(exec->lexicalInterpreter()->globalObject()); > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 1 error generated. > *** Error code 1 > 1 error > *** Error code 2 > > The code compiles fine with gcc.. but I wonder if this is a clang bug, > or a bug in kde ?
Hi, 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. The bug database [1] for llvm/clang lists all the bugs affecting compilation of Qt [2] and possibly KDE. Regards [1] http://llvm.org/bugs/ [2] http://llvm.org/bugs/show_bug.cgi?id=5881
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ kde-freebsd mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information
