[csw-maintainers] Use of <stdbool.h> is valid only in a c99 compilation environment.
romeotheriault at opencsw.org
Tue Sep 4 23:14:36 CEST 2012
On Sun, Jul 15, 2012 at 2:36 PM, Romeo Theriault <romeotheriault at opencsw.org
> On Sun, Jul 8, 2012 at 8:24 PM, Romeo Theriault
> <romeotheriault at opencsw.org> wrote:
> Thought I'd follow up on this. I'm unfortunately still unable to
> figure out how to get msgpack-python to compile with SunStudio cc. I
> asked this here  and got some suggestions that got me a bit further
> (I think) but am still unable to fully compile the software.
> Basically, I'm able to get past the stdbool.h error by using these
> EXTRA_CPPFLAGS += -D_XPG6 -xc99 but now seem to be running into other
> errors that to my junior eye seems to be related to some C standard
> Errors like so:
> "msgpack/unpack_template.h", line 205: "default" outside switch
> "msgpack/unpack_template.h", line 207: undefined label: _fixed_trail_again
Finally, got this going with Sun's cc with a patch to one of the source
files. The source was expecting a gcc feature (case ranges) that aren't
supported with Sun's cc. Once I patched that, it build and runs fine.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the maintainers