Description
When building on Ubuntu I see the following warning:
[1/2] Building CXX object kv_engine/tests/engine_error/CMakeFiles/memcached-engine-error-test.dir/engine_error_test.cc.o
|
cc1plus: warning: /home/trond/compile/trunk/cmake-build-debug/kv_engine/CMakeFiles/kv_pch.dir/cmake_pch.hxx.gch: not used because
|
`JSON_USE_IMPLICIT_CONVERSIONS' not defined [-Winvalid-pch]
|
[2/2] Linking CXX executable kv_engine/memcached-engine-error-test
|
According to a comment on http://review.couchbase.org/c/kv_engine/+/164149/1/engines/ep/CMakeLists.txt#250 this is caused by an incorrect PCH setup.
It may be reproduced in the docker image: couchbasebuild/server-ubuntu18-build:latest