Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[dev.icinga.com #2620] Compatibility problem in module/idoutils/db.c #979
This issue has been migrated from Redmine: https://dev.icinga.com/issues/2620
Created by crfriend on 2012-05-17 21:49:38 +00:00
In building the release of Icinga 1.7.0 on gcc 2.95.3 I encountered a fatal error in db.c at line 1322. The offending statement was a declaration intermixed with statements.
The attached patch corrects portability issues, not logic errors. Some compilers understand this idiom, but some don't.
Metadiscussion: Should there be a "category" for "Portability" or just leave it as "Other"?
2012-05-30 19:17:45 +00:00 by Tommi 09ab12ed595c37e7897543f558cd8bf1aa26fe74
2012-06-12 15:41:45 +00:00 by Tommi 1cda0b3
2012-10-20 11:50:16 +00:00 by Tommi 8403979b2a496834652381d6b3ed0c5ebe15b190
Updated by Tommi on 2012-05-30 19:26:46 +00:00
reorder of definition/assignments done in changeset 09ab12ed595c37e7897543f558cd8bf1aa26fe74