"Matteo F. Vescovi" <mfv.deb...@gmail.com> writes: > On Fri, Jun 29, 2012 at 11:55 AM, Olaf Meeuwissen > <olaf.meeuwis...@avasys.jp> wrote: >> >> It appears that the babl-classes.h header file, which defines union _Babl, >> does >> not get installed by the upstream babl/Makefile.am. However, this header >> file >> references a pile of other apparently internal header files so I'm not sure >> whether it should be installed. > > I explained the issue to upstream and they replied me that in this case > you should use babl_format_get_bytes_per_pixel () function instead. > > Could that help?
Yes it does. I guess then that all Babl "subtypes" are to be treated as opaque and any access to member variables is to go through the function API instead. Since I'm using this in C++ code I must have missed a `private` access specifier and assumed the members could be accessed as is (at least you could do that in the past, probably with 0.0.x). I just checked on one of the platform we need to support (Ubuntu 10.04). This has 0.0.22 which does *not* have babl_format_get_bytes_per_pixel() so I need to get a bit creative to get my code to compile everywhere. > Thanks for your info about this problem. Thanks for the quick feedback. -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS CORPORATION FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org