avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Douglas Creager (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AVRO-861) Remove dependency on C99 stdbool.h header
Date Fri, 15 Jul 2011 01:00:00 GMT

     [ https://issues.apache.org/jira/browse/AVRO-861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Douglas Creager resolved AVRO-861.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6.0

Committed to SVN.  The Solaris buildbot is succeeding again.

> Remove dependency on C99 stdbool.h header
> -----------------------------------------
>
>                 Key: AVRO-861
>                 URL: https://issues.apache.org/jira/browse/AVRO-861
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>    Affects Versions: 1.6.0
>            Reporter: Douglas Creager
>            Assignee: Douglas Creager
>            Priority: Minor
>             Fix For: 1.6.0
>
>         Attachments: 0001-AVRO-861.-C-Remove-dependency-on-stdbool.h.patch
>
>
> Buildbot raised on error on Solaris, saying that the stdbool.h header is only allowed
in C99 code.  Bruce pointed out that it would be safer and more portable to not rely on any
C99 standards if we don't have to.  In this case, it's easy enough to replace bool with int,
true with 1, and false with 0.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message