Uploaded image for project: 'Percona Server'
  1. Percona Server
  2. PS-3841

QRT compilation warning when linked statically

    Details

      Description

      An addition of `-DWITH_QUERY_RESPONSE_TIME=ON` to `5.7` causes:

      [ 38%] Building CXX object plugin/query_response_time/CMakeFiles/query_response_time.dir/plugin.cc.o
      /home/travis/build/inikep/percona-server/plugin/query_response_time/plugin.cc:16:9: error: 
            'MYSQL_SERVER' macro redefined [-Werror,-Wmacro-redefined]
      #define MYSQL_SERVER
              ^
      <command line>:3:9: note: previous definition is here
      #define MYSQL_SERVER 1
              ^
      

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                przemyslaw.skibinski Przemyslaw Skibinski
                Reporter:
                przemyslaw.skibinski Przemyslaw Skibinski
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 42 minutes
                  42m