Bug#993895: libosmpbf-dev: Compilation error with g++ when including /usr/include/osmpbf/osmformat.pb.h

2021-09-11 Thread Sebastiaan Couwenberg
Control: tags -1 - moreinfo Control: tags -1 + pending On 9/11/21 6:49 PM, Jocelyn Jaubert wrote: > Here is the test file I used, which only includes the files causing the > compilation error, without using any function. (file osmpbf-fail.cc) > > Do you need a full example? > > If so, I'm using

Bug#993895: libosmpbf-dev: Compilation error with g++ when including /usr/include/osmpbf/osmformat.pb.h

2021-09-11 Thread Jocelyn Jaubert
Hi, Here is the test file I used, which only includes the files causing the compilation error, without using any function. (file osmpbf-fail.cc) Do you need a full example? If so, I'm using a program based on https://github.com/CanalTP/libosmpbfreader. I could provide a very simple example if

Bug#993895: libosmpbf-dev: Compilation error with g++ when including /usr/include/osmpbf/osmformat.pb.h

2021-09-07 Thread Sebastiaan Couwenberg
Control: tags -1 moreinfo On 9/7/21 10:58 PM, Jocelyn Jaubert wrote: > Should these two .h files be regenerated? Possibly. osmpbf (1.5.0-1) was uploaded to unstable on 2021-01-07, protobuf (3.12.4-1) on 2021-01-16 (unstable had 3.12.3-2). osmpbf was not rebuilt for the new minor version, as it

Bug#993895: libosmpbf-dev: Compilation error with g++ when including /usr/include/osmpbf/osmformat.pb.h

2021-09-07 Thread Jocelyn Jaubert
Package: libosmpbf-dev Version: 1.5.0-1 Severity: normal Dear Maintainer, When compiling a c++ program including one of these files: /usr/include/osmpbf/fileformat.pb.h /usr/include/osmpbf/osmformat.pb.h I'm getting a compilation error linked to protobuf structures. Example: $ cat