Commit 5219e71c does not compile on Mac OS X, and I'm not really sure why.
The build runs into a compile error in `base/image/jpeg.cpp`, in which
`TRUE` is passed to a JPEG lib function parameter of type `boolean`.
Now by some quirks of the include hierarchy, a header file
`mach/boolean.h` is pulled in (apparently _after_ `<jpeglib.h>`), and
defines `TRUE` as `1`, while JPEGlib apparently wants it to be... well,
something else apparently, fitting the type `boolean` - whatever that
might end up being defined as.
I'll be pushing a workaround any moment now, but I'd really like to know
what's going on there. If someone with better access to a Mac system (or
maybe just a different pair of Mk1 eyeballs) could have a look into
this, I'd greatly appreciate it.
Post a reply to this message