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

Avoid deprecated OSX atomic ops

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 1.12.0
    • c

    Description

      maOS 10.12 deprecated the OSAtomicIncrement32 and OSAtomicDecrement32 functions used in avro/lang/c/src/avro/refcount.h which results in the following warnings:

      warning: 'OSAtomicIncrement32' is deprecated: first deprecated in macOS 10.12

      warning: 'OSAtomicDecrement32' is deprecated: first deprecated in macOS 10.12

      To remove these warnings while maintaining the exising avro_refcount_* signatures, we can rely on the subsequent GCC/Clang intrinsics branch

      Attachments

        Issue Links

          Activity

            People

              ssk Sahil Kang
              ssk Sahil Kang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h