Fix redefined warnings from config.h
The issue was caused by config.h header being included from both header files and implementation files. Proposed solution is to have regular header guard in the generated config.h. Benefit of this solution is that it's least intrusive. Downside is that it only solves issue for CMake build system, and autoconf one is not fixed since header template is automatically generated by autoheader who does not add header guard.
Showing
Please
register
or
sign in
to comment