The LOG4CPP_EXPORT macro was introduced in release 0.2.5, so I doubt that it causes your problem. Could you check whether 0.3.0 or 0.2.7 compile correctly on your platform?
I don't use Win32 myself, so I can't really help yo u with it very much. Ask help on the development mailing list if you can't figure out what the trouble is.
Good luck,
Bastiaan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Compiling under msvc6 gives the following errors:
fileappender.hh(32) : error C2629: unexpected 'class log4cpp::FileAppender ('
... my previous message was accidentally sent prematurely :-(.
The error message occurs repeatedly. Maybe this has something to do with the macro LOG4CPP_EXPORT.
I apprecitate every feedback.
Mathias
Hi,
The LOG4CPP_EXPORT macro was introduced in release 0.2.5, so I doubt that it causes your problem. Could you check whether 0.3.0 or 0.2.7 compile correctly on your platform?
I don't use Win32 myself, so I can't really help yo u with it very much. Ask help on the development mailing list if you can't figure out what the trouble is.
Good luck,
Bastiaan
Version 0.2.7 compiles without any problems.
I will skip to the development mailing list for further discussions.
Thank you so far,
Mathias
better late than never,
The problem is mode_t is not defined anywhere.
add
typedef int mode_t;
to config-w32.h
and all will compile.
Jim