-
Enhancement
-
Resolution: Won't Fix
-
P4
-
10
-
None
On Solaris we compile C code with -xc99=%none -xCC
which disallows C99isms except for C++-style // comments.
To catch C89 incompatibilities earlier we should enforce the same standards level for GCC and Clang as well.
In order to still allow the comments the relevant option for GCC and Clang is -std=gnu89
which disallows C99isms except for C++-style // comments.
To catch C89 incompatibilities earlier we should enforce the same standards level for GCC and Clang as well.
In order to still allow the comments the relevant option for GCC and Clang is -std=gnu89
- relates to
-
JDK-4946594 Sun C compiler option -xc99=%none is not used, allows C99 features not wanted
- Resolved
-
JDK-8224087 Compile C code for at least C99 Standard compliance
- Resolved