protozero
protozero copied to clipboard
Minimalist protocol buffer decoder and encoder in C++
Compare how GitHub recognizes the license before and after this change. Before: After:
`writer_tests` used in `add_dependencies` does only exist if tests are enabled. Add an additional `AND BUILD_TESTING`: ``` if(CLANG_TIDY AND PROTOBUF_FOUND AND BUILD_TESTING) message(STATUS "Looking for clang-tidy - found ${CLANG_TIDY}") add_custom_target(clang-tidy...
In our STL std::string::iterator is not a class but rather a raw pointer. Suggested approach works as std::advance [accepts](https://en.cppreference.com/w/cpp/iterator/advance) Distance type as a template parameter.
Don't check for protobuf if tests are disabled. As a side effect, this will avoid a build failure if clang-tidy and protobuf are found but tests are disabled Fix #109...
Hi, libosmium seems to required a newer libprotozero as there is in Debian/Stretch. So cloning protozero to the directory solved the issue. But only half way. If libprotozero-dev from Stretch...
Building/Testing `tools/pbf-decoder` is disabled on Windows because of the missing getopt library. We should figure something out here. See also https://github.com/mapbox/vtzero/issues/20.
`pbf_reader::get_packed_bool()` currently calls `get_packed_int32()`. But with a one-byte bool there will never be any endianness or alignment issues so we could optimize this case.
I am compiling on a Gentoo with absl-2308.0.0 and gave me a 2 kind of error compiling : Protobuf only supports C++14 and newer. and /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/writer_tests.dir/t/repeated/writer_test_cases.cpp.o: undefined reference to...
mapbox/protozero has been defined as a prerequisite to the [osmium-tool project](https://github.com/osmcode/osmium-tool). So I upgraded (unmasked) my GCC compiler to version 14 on Gentoo Linux and overcame the requirement of C++...
Currently, the CMake files do not create a target for the protozero library itself. CMake supports so called interface targets, which are targets which contain only header files but do...