Chuck Burns <[email protected]> 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 = 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 ?
I have finally fixed the two reported issues upstream (commits d1fe207 and 01b0c1a) and added the patches to area51 and the ports tree. Thanks. _______________________________________________ kde-freebsd mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information
