I recieve the following errors.
OstringStream.cpp: In function `int {anonymous}::vsnprintf(char *, unsigned int, const char *, void *)':
OstringStream.cpp:34: `_IOSTRG' undeclared (first use this function)
OstringStream.cpp:34: (Each undeclared identifier is reported only once
OstringStream.cpp:34: for each function it appears in.)
OstringStream.cpp:36: `struct FILE' has no member named `_bufsiz'
OstringStream.cpp:38: `struct FILE' has no member named `_bufendp'
OstringStream.cpp:38: `struct FILE' has no member named `_bufsiz'
I have not had much time at all to dive into the source to see what I can do, but if anyone has encountered this, any kind of feedback would be helpful. Thanks!
Sincerely,
Will
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If SunOS 5.5.1 has a usable snprintf (even if not C99 compliant) a quick hack to work around it is to manually define LOG4CPP_HAVE_SNPRINTF in include/log4cpp/config.h.
Bastiaan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello all,
compiling on SunOS 5.5.1
Using g++ 2.95.2
I recieve the following errors.
OstringStream.cpp: In function `int {anonymous}::vsnprintf(char *, unsigned int, const char *, void *)':
OstringStream.cpp:34: `_IOSTRG' undeclared (first use this function)
OstringStream.cpp:34: (Each undeclared identifier is reported only once
OstringStream.cpp:34: for each function it appears in.)
OstringStream.cpp:36: `struct FILE' has no member named `_bufsiz'
OstringStream.cpp:38: `struct FILE' has no member named `_bufendp'
OstringStream.cpp:38: `struct FILE' has no member named `_bufsiz'
I have not had much time at all to dive into the source to see what I can do, but if anyone has encountered this, any kind of feedback would be helpful. Thanks!
Sincerely,
Will
If SunOS 5.5.1 has a usable snprintf (even if not C99 compliant) a quick hack to work around it is to manually define LOG4CPP_HAVE_SNPRINTF in include/log4cpp/config.h.
Bastiaan