[vz-dev] [volkszaehler/vzlogger] 6c089d: avoid compiler warnung due to uninitalized variabl...

2017-09-26 Thread GitHub
  Branch: refs/heads/master
  Home:   https://github.com/volkszaehler/vzlogger
  Commit: 6c089d453eefb8f3c9ef4858dbf664f591eb1134
  
https://github.com/volkszaehler/vzlogger/commit/6c089d453eefb8f3c9ef4858dbf664f591eb1134
  Author: Hannes Schmelzer 
  Date:   2017-09-26 (Tue, 26 Sep 2017)

  Changed paths:
M src/api/MySmartGrid.cpp
M src/protocols/MeterOMS.cpp

  Log Message:
  ---
  avoid compiler warnung due to uninitalized variabled

Signed-off-by: Hannes Schmelzer 


  Commit: 24a36c5d29313a2e09557f861756042dc5c2b7e8
  
https://github.com/volkszaehler/vzlogger/commit/24a36c5d29313a2e09557f861756042dc5c2b7e8
  Author: andig 
  Date:   2017-09-26 (Tue, 26 Sep 2017)

  Changed paths:
M src/api/MySmartGrid.cpp
M src/protocols/MeterOMS.cpp

  Log Message:
  ---
  Merge pull request #327 from oe5hpm/fix-uninitialized-var

Mute cross-compile warning (#327)


Compare: 
https://github.com/volkszaehler/vzlogger/compare/6911dbb5b96a...24a36c5d2931

[vz-dev] [volkszaehler/vzlogger] 9eddc1: fix cross-compiling

2017-09-26 Thread GitHub
  Branch: refs/heads/master
  Home:   https://github.com/volkszaehler/vzlogger
  Commit: 9eddc1b40ba5c3337a18635fbf4912ae3c9c8db3
  
https://github.com/volkszaehler/vzlogger/commit/9eddc1b40ba5c3337a18635fbf4912ae3c9c8db3
  Author: Hannes Schmelzer 
  Date:   2017-09-26 (Tue, 26 Sep 2017)

  Changed paths:
M modules/CompilerFlags.cmake

  Log Message:
  ---
  fix cross-compiling

The cmake module 'CompilerFlags' trys to run some build output, which
doesn't work in cross-compiling mode (for example building on a x86 host
we cannot run ARM binaries there).

We modify therefore the check in case of cross-compiling into a simple
"does-compile" check rather then try running the binary.

Behaviour on native build ist the same as before.

Signed-off-by: Hannes Schmelzer 


  Commit: 80b8511f78c37f1c19ec5bb5d3bc57c978255860
  
https://github.com/volkszaehler/vzlogger/commit/80b8511f78c37f1c19ec5bb5d3bc57c978255860
  Author: andig 
  Date:   2017-09-26 (Tue, 26 Sep 2017)

  Changed paths:
M modules/CompilerFlags.cmake

  Log Message:
  ---
  Merge pull request #328 from oe5hpm/fix-cross-compile

Fix cross-compiling (#328)


Compare: 
https://github.com/volkszaehler/vzlogger/compare/24a36c5d2931...80b8511f78c3

[vz-dev] [volkszaehler/vzlogger] 87b7cd: Typo

2017-09-26 Thread GitHub
  Branch: refs/heads/master
  Home:   https://github.com/volkszaehler/vzlogger
  Commit: 87b7cda548bccd31bb4e210b91676da48ed9138e
  
https://github.com/volkszaehler/vzlogger/commit/87b7cda548bccd31bb4e210b91676da48ed9138e
  Author: andig 
  Date:   2017-09-26 (Tue, 26 Sep 2017)

  Changed paths:
M config.hpp.in

  Log Message:
  ---
  Typo




[vz-dev] [volkszaehler/vzlogger] 841997: fix clang warning about preventing copy elision (#...

2017-09-26 Thread GitHub
  Branch: refs/heads/master
  Home:   https://github.com/volkszaehler/vzlogger
  Commit: 8419971185dce51ea3791d94239de1fb1b088cff
  
https://github.com/volkszaehler/vzlogger/commit/8419971185dce51ea3791d94239de1fb1b088cff
  Author: Matthias Behr 
  Date:   2017-09-26 (Tue, 26 Sep 2017)

  Changed paths:
M include/Channel.hpp

  Log Message:
  ---
  fix clang warning about preventing copy elision (#330)




[vz-dev] Question about Unit Tests in cross-compile environment

2017-09-26 Thread Hannes Schmelzer
I build the vzlogger with the buildroot toolchain and i have troubles 
there with the unit tests.


Actually i simple disable these tests there with setting
'set(ENABLE_GOOGLEMOCK FALSE)' within CMakeLists.txt

I'm not sure if this is the 100% right way.
Fact is, that we cannot run the produced binary on the build host.

Would it be an idea for having some 'if cross-compile' within the 
CMakeLists for switching off the unit tests ?



buildroot today passes these arguments per default to the cmake build:

DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF 
-DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF 
-DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON


maybe we can hook on something there ...

-DBUILD_TEST=OFF

might be an idea.


cheers,
Hannes