The library is compiled and built successfully but there are two tiny bugs I would like to report.
- The mismatch between "throws" declarations in "Category" and "FixedContextCategory" classes:
Whereas Category::addAppender(Appender*) method declaration contains "throw (srd::invalid_argument)", the correspondent
"FixedContextCategory" method declaration contains "throws()". Sun WS compiler considers this mismatch in these declarations as an error.
- The mismatch bewteen argument types in "RollingFileAppender" ctor. ("maxFileSize" and "maxBackupIndex").
I do not know exactly whether the signatures with arguments declared as "int" and "const int" differ according to the language standard, but Sun WS compiler considers them different.
Best Regards,
Mikhail
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, all
The library is compiled and built successfully but there are two tiny bugs I would like to report.
- The mismatch between "throws" declarations in "Category" and "FixedContextCategory" classes:
Whereas Category::addAppender(Appender*) method declaration contains "throw (srd::invalid_argument)", the correspondent
"FixedContextCategory" method declaration contains "throws()". Sun WS compiler considers this mismatch in these declarations as an error.
- The mismatch bewteen argument types in "RollingFileAppender" ctor. ("maxFileSize" and "maxBackupIndex").
I do not know exactly whether the signatures with arguments declared as "int" and "const int" differ according to the language standard, but Sun WS compiler considers them different.
Best Regards,
Mikhail