does anyone know of an automated way to make sure that a piece of C code doesn't use any floating point? Either compiler options, gcc, msvc, clang or some static analysis tool. I looked in the gcc compiler options and for coverity checkers, but couldn't find anything. I might have missed something. One way would be to search for the keyword 'float' in the code, but this would give many false positives in case the floating point code is disabled by a macro.
Thanks,