You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-user@logging.apache.org by Martin LECHNER <Ma...@frequentis.com> on 2004/08/03 08:37:03 UTC

Cant compile 0.9.7 with mscv 6

I tried with the distribution as well as with the latest sources.

The latest CVS sources give me an error on Appender

It tells that the type is undefined (???)

Any help will be apreciated.

Msvc Output:************************
optionconverter.cpp
../../include\log4cxx/helpers/objectptr.h(77) : error C2027: Verwendung
des undefinierten Typs "Appender"
        ../../include\log4cxx/spi/loggerrepository.h(35) : Siehe
Deklaration von 'Appender'
        ../../include\log4cxx/helpers/objectptr.h(73) : Bei der
Kompilierung der Member-Funktion '__thiscall
log4cxx::helpers::ObjectPtrT<class
log4cxx::Appender>::log4cxx::helpers::ObjectPtrT<class
log4cxx::Appender>(const class log4cxx::helpers::O
bjectPtrT<class log4cxx::Appender> &)' der Klassenvorlage
../../include\log4cxx/helpers/objectptr.h(77) : error C2227: Der linke
Teil von '->addRef' muss auf Klasse/Struktur/Union zeigen
        ../../include\log4cxx/helpers/objectptr.h(73) : Bei der
Kompilierung der Member-Funktion '__thiscall
log4cxx::helpers::ObjectPtrT<class
log4cxx::Appender>::log4cxx::helpers::ObjectPtrT<class
log4cxx::Appender>(const class log4cxx::helpers::O
bjectPtrT<class log4cxx::Appender> &)' der Klassenvorlage
Fehler beim Ausführen von xicl6.exe.

log4cxx.dll - 2 Fehler, 0 Warnung(en)


--

Martin Lechner Bakk. techn.

SW Team, A. Kroepfl

FREQUENTIS GmbH

Postal Address: A-1120 Wien, Spittelbreitengasse 34

Office Address: A-8010 Graz, Pluedemanngasse 104

martin.lechner@frequentis.com

Tel. +43/316/429082-18, Fax -1555