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 necessary. For information, I've just recompiled libosmpbf-dev on bullseye with "debuild -b -uc -us + dpkg -i", and the program is working with the new version. Comparing the two packages, I see that the files generated by protobuf are very different. Thanks, Jocelyn Le 08/09/2021 à 06:03, Sebastiaan Couwenberg a écrit : > 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 didn't trigger a transition. > > Can you share a complete test case which can be used to reproduce the issue? > > Kind Regards, > > Bas >
#include <osmpbf/fileformat.pb.h> #include <osmpbf/osmformat.pb.h> int main () { }