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

--disable-warnings-as-errors disables errtags on Solaris

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 12
    • 11
    • infrastructure
    • None

      On Solaris, we always want to compile with -errtags since it gives more information on warnings and errors. Currently we add this flag together with warnings as error flags. Because of this, if you disable warnings as errors, you also lose the errtags, which in turn makes it harder to identify and work with the warnings.

      We need a global flags variable with compiler flags that should be always used. Like -nologo with Visual Studio and now errtags with solstudio.

            ihse Magnus Ihse Bursie
            erikj Erik Joelsson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: