Skip to content

Commit

Permalink
Merge Hailiang Wang's GCC14.1 cmath update into stable.
Browse files Browse the repository at this point in the history
  • Loading branch information
jralls committed Aug 16, 2024
2 parents 2ea4e76 + a3670ee commit 1d0bc7c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion gnucash/gnucash-core-app.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,13 @@
#define GNUCASH_CORE_APP_HPP

#ifdef __MINGW32__
#undef _GLIBCXX_USE_C99_MATH_TR1 // Avoid cmath missing function decl.
// Avoid cmath missing function decl.
#undef _GLIBCXX_USE_C99_MATH_TR1
#if (__GNUC__ > 14) || (__GNUC__ == 14 && __GNUC_MINOR__ >= 1)
#undef _GLIBCXX_USE_C99_MATH_FUNCS
#endif
#endif

#include <boost/optional.hpp>
#include <boost/program_options.hpp>
#include <string>
Expand Down

0 comments on commit 1d0bc7c

Please sign in to comment.