Curt Arnold wrote:
The project file support is only in the CVS version of cpptasks. I need to get a release done there too. Commenting out the project should only suppress the project file generation. I haven't seen the compiler errors, but I'll double check that I haven't committed a conflict marker or similar.


ant did a good job for ./autogen, ./configure so I can do a make without problem. At the begining, make generate documentation - ant did not do it - and it works well. The error is :

error: `1048576' cannot be used as a function

I give you the most significiant part of the error at the end.

I take the file appenderattachableimpl.cpp from the cvs tree, I put it in my XCode project and it compiles. It always compile when I replace the config_auto.h.

Bernard.

The listing :
Making all in src
if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../include/log4cxx -I../include -I../include -I/sw/include/libxml2 -I/sw/include -DLOG4CXX -D_REENTRANT -g -O2 -MT appenderattachableimpl.lo -MD -MP -MF ".deps/appenderattachableimpl.Tpo" -c -o appenderattachableimpl.lo appenderattachableimpl.cpp; \
then mv -f ".deps/appenderattachableimpl.Tpo" ".deps/appenderattachableimpl.Plo"; else rm -f ".deps/appenderattachableimpl.Tpo"; exit 1; fi
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I../include/log4cxx -I../include -I../include -I/sw/include/libxml2 -I/sw/include -DLOG4CXX -D_REENTRANT -g -O2 -MT appenderattachableimpl.lo -MD -MP -MF .deps/appenderattachableimpl.Tpo -c appenderattachableimpl.cpp -fno-common -DPIC -o .libs/appenderattachableimpl.o
In file included from ../include/log4cxx/appender.h:22,
from appenderattachableimpl.cpp:18:
../include/log4cxx/helpers/object.h: In constructor `
log4cxx::helpers::Object::ClassObject::ClassObject()':
../include/log4cxx/helpers/object.h:108: error: `1048576' cannot be used as a
function
In file included from ../include/log4cxx/appender.h:24,
from appenderattachableimpl.cpp:18:
../include/log4cxx/spi/optionhandler.h: In constructor `
log4cxx::spi::OptionHandler::ClassOptionHandler::ClassOptionHandler()':
../include/log4cxx/spi/optionhandler.h:37: error: `1048576' cannot be used as a
function
In file included from appenderattachableimpl.cpp:18:
../include/log4cxx/appender.h: In constructor `
log4cxx::Appender::ClassAppender::ClassAppender()':
../include/log4cxx/appender.h:56: error: `1048576' cannot be used as a function
In file included from ../include/log4cxx/helpers/appenderattachableimpl.h:20,
from appenderattachableimpl.cpp:19:
../include/log4cxx/spi/appenderattachable.h: In constructor `


log4cxx::spi::AppenderAttachable::ClassAppenderAttachable::ClassAppenderAttachable()
':
../include/log4cxx/spi/appenderattachable.h:45: error: `1048576' cannot be used
as a function
In file included from appenderattachableimpl.cpp:19:
../include/log4cxx/helpers/appenderattachableimpl.h: In constructor `


log4cxx::helpers::AppenderAttachableImpl::ClassAppenderAttachableImpl::ClassAppenderAttachableImpl()
':
../include/log4cxx/helpers/appenderattachableimpl.h:49: error: `1048576' cannot
be used as a function
In file included from ../include/log4cxx/logger.h:24,
from ../include/log4cxx/spi/loggingevent.h:23,
from appenderattachableimpl.cpp:20:
../include/log4cxx/level.h: In constructor `
log4cxx::Level::LevelClass::LevelClass()':
../include/log4cxx/level.h:62: error: `1048576' cannot be used as a function
In file included from ../include/log4cxx/logger.h:25,
from ../include/log4cxx/spi/loggingevent.h:23,
from appenderattachableimpl.cpp:20:
../include/log4cxx/spi/loggerfactory.h: In constructor `
log4cxx::spi::LoggerFactory::ClassLoggerFactory::ClassLoggerFactory()':
../include/log4cxx/spi/loggerfactory.h:38: error: `1048576' cannot be used as a
function
In file included from ../include/log4cxx/logger.h:26,
from ../include/log4cxx/spi/loggingevent.h:23,
from appenderattachableimpl.cpp:20:
../include/log4cxx/spi/loggerrepository.h: In constructor `


log4cxx::spi::LoggerRepository::ClassLoggerRepository::ClassLoggerRepository()
':
../include/log4cxx/spi/loggerrepository.h:63: error: `1048576' cannot be used
as a function
In file included from ../include/log4cxx/logger.h:27,
from ../include/log4cxx/spi/loggingevent.h:23,
from appenderattachableimpl.cpp:20:
../include/log4cxx/helpers/resourcebundle.h: In constructor `


log4cxx::helpers::ResourceBundle::ClassResourceBundle::ClassResourceBundle()
':
../include/log4cxx/helpers/resourcebundle.h:48: error: `1048576' cannot be used
as a function
In file included from ../include/log4cxx/spi/loggingevent.h:23,
from appenderattachableimpl.cpp:20:
../include/log4cxx/logger.h: In constructor `
log4cxx::Logger::ClassLogger::ClassLogger()':
../include/log4cxx/logger.h:56: error: `1048576' cannot be used as a function
In file included from appenderattachableimpl.cpp:20:
../include/log4cxx/spi/loggingevent.h: In constructor `
log4cxx::spi::LoggingEvent::ClassLoggingEvent::ClassLoggingEvent()':
../include/log4cxx/spi/loggingevent.h:61: error: `1048576' cannot be used as a
function
make[1]: *** [appenderattachableimpl.lo] Error 1
make: *** [all-recursive] Error 1
LeMac ~/installations/log4xx/logging-log4cxx %

Reply via email to