Comment 2 for bug 1125949

Revision history for this message
Matthias Klose (doko) wrote :

@timo: just having a build log with an error message is not status triaged.

this is caused by a macro B0 defined in the glibc headers, bits/termios.h, included by termios.h. The macro does exist on x86 too, so wondering why the issue isn't seen there.

include order is
. ../../mkspecs/linux-g++/qplatformdefs.h
.. /usr/include/powerpc-linux-gnu/sys/ioctl.h
... /usr/include/powerpc-linux-gnu/bits/ioctl-types.h
.... /usr/include/termios.h
..... /usr/include/powerpc-linux-gnu/bits/termios.h

qprinter.h already has an undef, which is missing in qpagedpaintdevice.h.

No comment about using a two letter capital identifier in an API, and not just one ...