On Tue, Nov 02, 2021 at 10:34:26PM -0600, Anthony J. Bentley wrote:
> Theo Buehler writes:
> > I can also send an update to protozero 1.7.0 if there is interest.
>
> Yes please.
That would look like this. The changelog is minimal.
https://github.com/mapbox/protozero/releases
Tests pass and all
Theo Buehler writes:
> I can also send an update to protozero 1.7.0 if there is interest.
Yes please.
> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/protozero/Makefile,v
> retrieving revision 1.4
> diff -u -p -r1.4 Makefile
> -
protozero fails to build with devel/protobuf >= 3.19 because it builds
with -pedantic -std=c++11 -Werror and because newer protobuf has this
#if __has_cpp_attribute(nodiscard)
#define PROTOBUF_NODISCARD [[nodiscard]]
...
For some reason, __has_cpp_attribute(nodiscard) is true even with
-std=c++11