Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-15043

Scripts: compilation warnings suppression

    XMLWordPrintable

Details

    Description

      This module allows to suppress selection of warnings. Much easier to see warnings produced by your own patch instead of whole pile of messages. Module is OFF by default, so it will not affect anyone's build unless properly configured.

      Usage: cmake -DWARN_MODE=early|late|both
       
      Warn modes:
        early   print warnings while compiling each source file (like usually)
        late    print warnings at finish of build process
        both    print warnings both 'early' and 'late'
       
      Suppressing specific warnings. All messages with 'warning:' and 'note:'
      are collected in <build_dir>/compile.warnings To make them all suppressed do
       
        cd <build_dir>; cat compile.warnings >> suppress.warnings
       
      After that only newly introduced warnings will be shown. This helps to
      concentrate on current task's warnings effectively avoiding those that are to
      be fixed by other people.
       
      To disable processing warnings by this module do
       
        cmake -UWARN_MODE
      

      Attachments

        Activity

          People

            wlad Vladislav Vaintroub
            svoj Sergey Vojtovich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.