Bug#993895: libosmpbf-dev: Compilation error with g++ when including /usr/include/osmpbf/osmformat.pb.h
Jocelyn Jaubert
jocelyn.jaubert at gmail.com
Sat Sep 11 17:49:29 BST 2021
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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osmpbf-fail.cc
Type: text/x-c++src
Size: 84 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20210911/a4932b7d/attachment-0001.cc>
More information about the Pkg-grass-devel
mailing list