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

cl flag to suppress logo is /nologo not -NOLOGO

XMLWordPrintable

    • b50
    • generic
    • generic

      On Windows, the build prints these annoying messages:

      cl : Command line warning D4002 : ignoring unknown option '-NOLOGO'

      Here are 3 occurrences in the makefiles to fix:

      ./common/Defs-windows.gmk:537: # -NOLOGO Don't print out startup message
      ./common/Defs-windows.gmk:539: CFLAGS_COMMON += -Zi -NOLOGO
      ./common/Defs-windows.gmk:551: BASELFLAGS = -NOLOGO /opt:REF

      Running cl /help /nologo (!) shows the proper flag:

       $ cl /help /nologo | grep -i nologo
      /nologo suppress copyright message /Yc[file] create .PCH file

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: