Menu

Version 0.3.1 does not compile on WinNT

2002-04-08
2002-04-25
  • Mathias-H. Weber

    Compiling under msvc6 gives the following errors:
    fileappender.hh(32) : error C2629: unexpected 'class log4cpp::FileAppender ('

     
    • Mathias-H. Weber

      ... 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

       
    • Bastiaan Bakker

      Bastiaan Bakker - 2002-04-08

      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

       
    • Mathias-H. Weber

      Version 0.2.7 compiles without any problems.

      I will skip to the development mailing list for further discussions.

      Thank you so far,
      Mathias

       
    • James Rudnicki

      James Rudnicki - 2002-04-25

      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

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.