Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-20226

[GCC] 'cc1: error: unrecognized command line option '-Wno-unknown-warning-option' [-Werror]'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • Build System

    Description

      For example,
      on 'build-linux (gcc, i386, Debug, 0x600)',
      visible when a build fails, at least.

      cc1: error: unrecognized command line option '-Wno-unknown-warning-option' [-Werror]
      

      Regression caused by 0.4.16-dev-458-gaa7ab16 by Timo, described as

      [CMAKE] Disable a number of warnings for clang
      Also remove the totally useless and stupid -Werror=unknown-warning-option

      which aims at helping with Clang* state,
      but removes a consistency Clang check and regresses Gcc state.
      Moreover, that Linux case mismatches Windows case where only Clang-Cl was modified.

      Note:
      The removed check was added by me on 0.4.15-dev-8151-g3cc4361.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Serge Gautherie Serge Gautherie
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: