CogRob/catkin_grpc

Compiler warnings on gcc 7

Closed this issue · 2 comments

Hi,
I noticed some issues when building with gcc-7 under 18.04 LTS . zlib tends to not build because gcc-7 is treating warnings as errors by default - gcc-5.4 works fine. The proper fix probably lies inside the configure script for zlib but I was wondering if there was some way to turn off warnings within the cmake script on this repo for the time being ?

This line:

BUILD_COMMAND $(MAKE) CONFIG=opt REQUIRE_CUSTOM_LIBRARIES_opt=1

starts the building process. Maybe you can use it as a starting point and dig to the command that builds zlib and pass a flag to disable the warning.

This can be resolved by simply updating the hashes for the submodules in the build script. I guess I had slipped into an older version of zlib. My bad.