annotate src/protobuf-test.cpp @ 6213:5f64fb928091 release

build-gcc: Avoid library clash when calling msgfmt. * src/build-gcc-1-msgfmt.patch: Don't use libraries from the build tree when calling `msgfmt`. * dist-files.mk: Add patch to list.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 06 May 2022 19:36:10 +0200
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 }