Enforce C standard complicance requirement on GCC and Clang

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • 12
    • Affects Version/s: 10
    • Component/s: 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

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

              Created:
              Updated:
              Resolved: