Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-149

Change from -W to -Wextra for the GenericGCC module

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P3: Somewhat important
    • 0.2
    • 0.2
    • Toolchains: GCC
    • None
    • Any using GCC / clang

    Description

      Since GCC 3.4 (of April 2004 [1]), the more descriptive -Wextra has been accepted in lieu of -W [2]. I suggest that versions of GCC <= 3.3 (from 2003 and before) are not useful in the context of QBS, and that the GenericGCC module should therefore use the -Wextra flag (also accepted by clang [3]) for clarity.

      [1] http://gcc.gnu.org/releases.html
      [2] http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gcc/Warning-Options.html#Warning-Options
      [3] http://programmers.stackexchange.com/a/124574

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jbornema Joerg Bornemann
            gallafent William Gallafent
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes