Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-861

Remove dependency on C99 stdbool.h header

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.6.0
    • 1.6.0
    • c
    • None

    Description

      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.

      Attachments

        Activity

          People

            dcreager Douglas Creager
            dcreager Douglas Creager
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: