Now, the problem with the indetermination is also that the decompression
and compression routines check what is the size of the corresponding
struct according to the caller and according to the called code. In case
they are different, it bails out. So the only solution to have a working
libjpeg is to get the boolean always the same size. BTW, the size of
boolean is completely implementation defined, there is no standard what
size it should be. Normally it is the size of int (4bytes), but on win32
it is 1 byte. So, the point here is to get the size of boolean when
working with libjpeg always the same. This is what the install.doc is
advising.
Cheers
F.
On Tue, 2009-05-19 at 21:04 +0200, Kevin Kofler wrote:
Farkas Levente wrote:
> ok we rtfm:-) so we fix it.
This suffers from the "different ABI depending on which header is included
first" (i.e. "first included wins") issue.
But I don't think there's a real solution as the ABI which is currently used
uses different type definitions than the rpcndr.h ones.
Kevin Kofler