I have no trouble building with the head using Visual Studio 2005 although I am using projects that I created myself rather than following the instructions (I use the pre-built apr and have VS2005 rules to copy the 2 .hw files to .h), but that shouldn't matter.
Must be a difference between the ancient compiler in VC++ 6 and VS 2005. You might be able to fix it by adding using PatternConverter::format; to LoggingEventPatternConvertor and possibly changing the above line in subclasses of LoggingEvenPatternConvertor to be: using LoggingEventPatternConvertor::format; On Wed, May 14, 2008 at 9:38 PM, think twice <[EMAIL PROTECTED]> wrote: > > thanks for your quick reply, i'm using visualc++6 with sp5&sp6 > > Curt Arnold-3 wrote: >> >> >> On May 14, 2008, at 1:20 AM, think twice wrote: >> >>> >>> i checkout the head revision of apr, apr-util , log4cxx, put them in >>> the same >>> root directory. >>> Then i followed the instructions "how to build log4cxx using ant" on >>> apache >>> offical site, but it emits errors: >>> >>> [cc] >>> D:\WorkSpace\apache-log4cxx\log4cxx\src\main\include\log4cxx/pattern/ >>> lineseparatorpatternconverter.h(57) >>> : error C2603: illegal access declaration: >>> 'log4cxx::pattern::PatternConverter' is not a direct base of >>> 'log4cxx::pattern::LineSeparatorPatternConverter' >>> [cc] >>> D:\WorkSpace\apache-log4cxx\log4cxx\src\main\include\log4cxx/pattern/ >>> patternconverter.h(48) >>> : see declaration of 'PatternConverter' >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/build-head-revision-failed-on-windows-xp-tp17224117p17224117.html >>> Sent from the Log4cxx - Users mailing list archive at Nabble.com. >>> >> >> That is apparently due to the fix for LOGCXX-281 (rev 654700) which >> resulted in compiler warnings on the Sun Studio 11 compiler. Guess >> I'm going to need to iterate between Sun Studio and VC to figure out >> how to write the code to eliminate the Sun Studio warning and also >> compile under VC. I assume that you are using Visual C++, could you >> specify what version you are using? >> >> Until then, you could either check out the immediately preceding >> revision: >> >> svn update -r 654699 >> >> or remove the offending "using namespace" statements. > > -- > View this message in context: > http://www.nabble.com/build-head-revision-failed-on-windows-xp-tp17224117p17244432.html > Sent from the Log4cxx - Users mailing list archive at Nabble.com. > > -- Dale King