Relative Content

Tag Archive for cgcccompiler-errorsclangc89

Compiler doesn’t issue warning on `uint64_t` under strict C89 mode

I’m trying to write strict ISO C89-compliant code. Since long long is not standard and is often implemented as compiler extensions before C99, the compiler should warn me it when I use it. However, when using either gcc or clang, there’s no warning when int64_t is used and expands to long long (with 32-bit compilation -m32). Is there any way to make the compiler warn me?