diff --git a/README_SETUP.md b/README_SETUP.md index bdb8a03e4c58576b35e50b2090b889c120ae23cd..ea0284e2dd0458eee5aa7c9e165a3e6767e57d55 100644 --- a/README_SETUP.md +++ b/README_SETUP.md @@ -48,10 +48,9 @@ as compiler. We use [cmake](https://cmake.org/download/) as build tool. and build the project. (You can open Tools/Command Line/Developer Command Prompt and execute `msbuild libcaosdb.sln /property:Configuration=Release`) -### Creating a local Conan package ## +### Creating a Local Conan Package ## -Building and installing libcaosdb with Conan is just a single command: -`conan create . -s "compiler.libcxx=libstdc++11"` +Building and installing libcaosdb with Conan is just a single command: `make conan-install` For MacOS, you probably should adjust the option as mentioned above. @@ -65,6 +64,10 @@ the `--build=missing` option: `conan install .. [ other options ] --build=missing`. This should download and compile the sources of the dependencies. +#### cmake fails when using the Debug flag +Depending on the clang version it might be necessary to use additionally the following flag: +`-DCMAKE_CXX_FLAGS="-Wno-unused-parameter"` + ## Unit Tests ### Build diff --git a/include/caosdb/entity.h b/include/caosdb/entity.h index 52dc3e05c69578c41f94af444213bfd878362abf..bc8529e3525c963051a5fc7a2148fd9f29eec719 100644 --- a/include/caosdb/entity.h +++ b/include/caosdb/entity.h @@ -66,9 +66,8 @@ using caosdb::StatusCode; using caosdb::entity::v1alpha1::EntityResponse; using caosdb::entity::v1alpha1::FileTransmissionId; using google::protobuf::RepeatedPtrField; -using ProtoMessage = caosdb::entity::v1alpha1::Message; -const static std::string logger_name = "caosdb::entity"; +static const std::string logger_name = "caosdb::entity"; /** * The property importance.