Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ptr-comparison-to-string-literal error
A new error raised in the latest versions of gcc and clang. The address of string literals is undefined in the C standard so the compiler raises an error if one tries to test for string equality by comparing them. A better fix would be to replace QOF_ID strings with an int-based identifier; an even better one would get rid of QOF_ID entirely and use the C++ type system.
- Loading branch information