We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After running the cmake commands here, I get:
cmake
$ ninja check [..output...] #0 1.739 /usr/bin/clang++ -I/src/libprotobuf-mutator -I/src/libprotobuf-mutator/build -I/src/libprotobuf-mutator/build/external.googletest/include -fno-exceptions -Werror -Wall -Wstring-conversion -g -std=c++14 -fsanitize-coverage=0 -MD -MT src/CMakeFiles/protobuf-mutator.dir/mutator.cc.o -MF src/CMakeFiles/protobuf-mutator.dir/mutator.cc.o.d -o src/CMakeFiles/protobuf-mutator.dir/mutator.cc.o -c /src/libprotobuf-mutator/src/mutator.cc #0 1.739 In file included from /src/libprotobuf-mutator/src/mutator.cc:27: #0 1.739 /src/libprotobuf-mutator/src/field_instance.h:193:50: error: no member named 'requires_utf8_validation' in 'google::protobuf::FieldDescriptor' #0 1.739 bool EnforceUtf8() const { return descriptor_->requires_utf8_validation(); } #0 1.739 ~~~~~~~~~~~ ^ #0 1.739 1 error generated.
The text was updated successfully, but these errors were encountered:
I had the same issue and fixed it by adding this flag to the cmake command:
-DLIB_PROTO_MUTATOR_DOWNLOAD_PROTOBUF=ON
So:
cmake .. -GNinja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Debug -DLIB_PROTO_MUTATOR_DOWNLOAD_PROTOBUF=ON
Sorry, something went wrong.
Thanks! That's a lot better than my solution of
sed -i 's/descriptor_->requires_utf8_validation()/true/' /src/libprotobuf-mutator/src/field_instance.h
(but this should probably still be resolved upstream.)
cmake: bump libprotobuf-mutator
2888a3b
1. google/libprotobuf-mutator#222 2. https://github.com/google/libprotobuf-mutator/releases/tag/v1.3 (cherry picked from commit 5d6d126820f9d48fddaf797c58a54311c4ef0244)
No branches or pull requests
After running the
cmake
commands here, I get:The text was updated successfully, but these errors were encountered: