Menu

#18 opjfile.log generation not #ifdef protected.

v1.0 (example)
open
nobody
None
5
2014-07-22
2014-07-22
No

The opjfile.log mechanism might be useful for debugging, but severely inhibits the use of liborigin for practical sized Origin files. Currently, opjfile.log loggin is disabled via defining the NO_CODE_GENERATION_FOR_LOG macro, but there is one case where opjfile.log is not wrapped by the #ifndef conditional in OriginDefaultParser.cpp. The attached patch fixes the issue.

On a related note, I believe the logging should be disabled by default.

1 Attachments

Discussion


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.