Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8175302

Enforce C standard complicance requirement on GCC and Clang

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • 12
    • 10
    • infrastructure
    • 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

            Unassigned Unassigned
            mgerdin Mikael Gerdin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: