[Gammaray-commits] [KDAB/GammaRay] 4854bc: Add -Wall, somehow got forgotten here among all th...

Kevin Funk kevin.funk at kdab.com
Thu Apr 27 11:23:32 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/KDAB/GammaRay
  Commit: 4854bc00c9347c993eb8aaecfe3285c07fda22bd
      https://github.com/KDAB/GammaRay/commit/4854bc00c9347c993eb8aaecfe3285c07fda22bd
  Author: Volker Krause <volker.krause at kdab.com>
  Date:   2017-04-27 (Thu, 27 Apr 2017)

  Changed paths:
    M CMakeLists.txt

  Log Message:
  -----------
  Add -Wall, somehow got forgotten here among all the other warning flags

(cherry picked from commit 538e4d9488573bb726a8d0822aeb03c7d9a430fb)


  Commit: 1669f45be79becc55aa7e9395ac78c5db47a2688
      https://github.com/KDAB/GammaRay/commit/1669f45be79becc55aa7e9395ac78c5db47a2688
  Author: Kevin Funk <kevin.funk at kdab.com>
  Date:   2017-04-27 (Thu, 27 Apr 2017)

  Changed paths:
    M CMakeLists.txt

  Log Message:
  -----------
  Use -pedantic, remove some -Wno-foo flags


  Commit: 2be9970f50a90207bacb120b591b833ab66ed842
      https://github.com/KDAB/GammaRay/commit/2be9970f50a90207bacb120b591b833ab66ed842
  Author: Kevin Funk <kevin.funk at kdab.com>
  Date:   2017-04-27 (Thu, 27 Apr 2017)

  Changed paths:
    M CMakeLists.txt

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/2.7'


  Commit: fc08fabfcea6ffe5452717930ff9f7bd66c1bc46
      https://github.com/KDAB/GammaRay/commit/fc08fabfcea6ffe5452717930ff9f7bd66c1bc46
  Author: Kevin Funk <kevin.funk at kdab.com>
  Date:   2017-04-27 (Thu, 27 Apr 2017)

  Changed paths:
    M CMakeLists.txt

  Log Message:
  -----------
  qCDebug(...) & friends: Avoid warnings from Clang

Warning:
```
[228/1019] Building CXX object common/CMakeFiles/gammaray_common.dir/endpoint.cpp.o
gammaray/common/endpoint.cpp:139:36: warning: must specify at least one argument for '...' parameter of variadic macro [-Wgnu-zero-variadic-macro-arguments]
  qCWarning(networkstatistics) << "TX: \t" << (m_bytesTransferred * 8 / 1024.0 / 1024.0) << "Mbps";
                             ^
```

Passing -Wno-gnu-zero-variadic-macro-arguments fixes it


Compare: https://github.com/KDAB/GammaRay/compare/7c3284f21d06...fc08fabfcea6


More information about the Gammaray-commits mailing list