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

Remove or always use -xCC in Solaris C compiler options, be consistent

    XMLWordPrintable

Details

    • b32
    • generic
    • generic

    Description

      Occasionally the Windows builds fail because someone uses C++ style comments in C code
      (// style vs. /* style */)

      The Solaris compiler is given -xCC to allow this, but it might be better if some other platform
      than Windows platforms had the same restriction.

      Most C compilers accept // as a comment, but it technically is not part of the C89 C standard
      and is easy to work around.

      ###@###.### 2005-03-17 04:11:54 GMT

      Attachments

        Activity

          People

            ohair Kelly Ohair (Inactive)
            ohair Kelly Ohair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: