Skip to content

Commit

Permalink
Workaround an ICE when using modules with gcc 14.2 and earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Jan 12, 2025
1 parent 8303d14 commit d0a14fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@

// Enable minimal optimizations for more compact code in debug mode.
FMT_PRAGMA_GCC(push_options)
#if !defined(__OPTIMIZE__) && !defined(__CUDACC__)
#if !defined(__OPTIMIZE__) && !defined(__CUDACC__) && !defined(FMT_MODULE)
FMT_PRAGMA_GCC(optimize("Og"))
#endif
FMT_PRAGMA_CLANG(diagnostic push)
Expand Down

0 comments on commit d0a14fa

Please sign in to comment.