GitHub user kraj opened a pull request:

    https://github.com/apache/avro/pull/208

    avro-c: Fix build with clang compiler

    Clang advertizes itself to be compatible with gcc 4.2.1
    while that was true several years ago, it now supports
    a lot more newer features, the test to just check gcc
    version should be supplanted with clang check as well
    so atomic support in clang can be asserted as well
    
    Fixes
    
    lang/c/src/avro/refcount.h:301:2: error: "No atomic implementation!"
    
    Signed-off-by: Khem Raj <[email protected]>

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kraj/avro master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/avro/pull/208.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #208
    
----
commit 518bb8ccfb3f3fc143fbd571782f3e40573d01b5
Author: Khem Raj <[email protected]>
Date:   2017-04-10T16:15:04Z

    avro-c: Fix build with clang compiler
    
    Clang advertizes itself to be compatible with gcc 4.2.1
    while that was true several years ago, it now supports
    a lot more newer features, the test to just check gcc
    version should be supplanted with clang check as well
    so atomic support in clang can be asserted as well
    
    Fixes
    
    lang/c/src/avro/refcount.h:301:2: error: "No atomic implementation!"
    
    Signed-off-by: Khem Raj <[email protected]>

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to