[csw-maintainers] Use of <stdbool.h> is valid only in a c99 compilation environment.

Romeo Theriault 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
> wrote:

> 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 [1] 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
> compatibility.
>
> 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.

Romeo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/maintainers/attachments/20120904/588e7d58/attachment.html>


More information about the maintainers mailing list