79515084

Date: 2025-03-17 16:05:47
Score: 2
Natty:
Report link

And I cannot prevent the user from doing it [...]

Yes, you can.

#ifdef __FAST_MATH__
#error -ffast-math is not supported
#endif

Try on godbolt

See also how to use the gcc preprocessor macro __FAST_MATH__?

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: Nate Eldredge