Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move QGISDEBUG definition to header
Because having it as a compiler flag means that when compiling a dependant application we need to have extra knowledge of this setting at compile time of the dependant application. If this is not guaranteed (and the dependant application is compiled without QGISDEBUG while libqgis_core.so is compiled with QGISDEBUG) will result in different class definitions being found in header and library. For example for the optional QgsCoordinateTransform::mHasContext member. This in turn leads to crashes with funky traces and no chance to find out what's going on.
- Loading branch information
Showing with 8 additions and 2 deletions.