annotate src/protobuf-test.cpp @ 5579:2734b3818171

Avoid double-free with librsb (bug #58957). * src/librsb.mk: Add work-around to avoid double-free (provided by Michele Martone). * src/mingw-of-sparsersb-1-no-render.patch: Remove patch. * dist-files.mk: Remove file from list.
author Markus Mützel <markus.muetzel@gmx.de>
date Mon, 02 Nov 2020 08:55:18 +0100
parents a69eb5b6d9a5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2746
a69eb5b6d9a5 Add package protobuf (google protocol buffers).
lotodore <pokerth@lotharmay.de>
parents:
diff changeset
1 #include <google/protobuf/stubs/common.h>
a69eb5b6d9a5 Add package protobuf (google protocol buffers).
lotodore <pokerth@lotharmay.de>
parents:
diff changeset
2
a69eb5b6d9a5 Add package protobuf (google protocol buffers).
lotodore <pokerth@lotharmay.de>
parents:
diff changeset
3 int
a69eb5b6d9a5 Add package protobuf (google protocol buffers).
lotodore <pokerth@lotharmay.de>
parents:
diff changeset
4 main()
a69eb5b6d9a5 Add package protobuf (google protocol buffers).
lotodore <pokerth@lotharmay.de>
parents:
diff changeset
5 {
a69eb5b6d9a5 Add package protobuf (google protocol buffers).
lotodore <pokerth@lotharmay.de>
parents:
diff changeset
6 GOOGLE_PROTOBUF_VERIFY_VERSION;
a69eb5b6d9a5 Add package protobuf (google protocol buffers).
lotodore <pokerth@lotharmay.de>
parents:
diff changeset
7 google::protobuf::ShutdownProtobufLibrary();
a69eb5b6d9a5 Add package protobuf (google protocol buffers).
lotodore <pokerth@lotharmay.de>
parents:
diff changeset
8 return 0;
a69eb5b6d9a5 Add package protobuf (google protocol buffers).
lotodore <pokerth@lotharmay.de>
parents:
diff changeset
9 }