[linux-l] C++ / g++: wirres Casting-Problem
Oswald Buddenhagen
ossi at kde.org
Do Feb 23 23:47:54 CET 2006
On Thu, Feb 23, 2006 at 10:04:14PM +0100, Volker Wegert wrote:
> DQT.cpp:55: error: no matching function for call to `log4cxx::Logger::getLogger
> (const char[4])'
> /usr/include/log4cxx/logger.h:295: error: candidates are: static
> log4cxx::LoggerPtr log4cxx::Logger::getLogger(const log4cxx::String&)
> /usr/include/log4cxx/logger.h:316: error: static
> log4cxx::LoggerPtr log4cxx::Logger::getLogger(const log4cxx::String&,
> log4cxx::helpers::ObjectPtrT<log4cxx::spi::LoggerFactory>)
>
> Beide Rechner laufen auf Gentoo, die Bibliotheks- und gcc-Versionen sind
> gleich. Der Compiler wurde aufgerufen mit
>
> g++ -c -pipe -Wall -W -O2 -march=i686 -pipe -DQT_NO_DEBUG -DQT_SHARED
> -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++
> -I. -I/usr/qt/3/include -I.ui/ -I. -I.moc/ -o .obj/DQT.o DQT.cpp
>
QT_NO_ASCII_CAST (oder das andere #define mit 'nem ähnlichen namen).
oder auch nicht ...
--
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.
Mehr Informationen über die Mailingliste linux-l