1. 14 Sep, 2014 1 commit
    • Robert S. Edmonds's avatar
      Expose generic atomicops on Clang · 628a23ba
      Robert S. Edmonds authored
      The generic atomicops implementation is only exposed if GCC >= 4.7 is
      available, but Clang, where the underlying __atomic built-ins are also
      available, typically only claims to be GCC 4.2. This causes build
      failures when compiling protobuf or the output of protoc's C++ code
      generator on an architecture that needs the generic atomicops
      implementation with Clang.
      
      Clang has a "c_atomic" extension which can be tested for which almost
      does what we want:
      
          C11 atomic operations
      
          Use __has_feature(c_atomic) or __has_extension(c_atomic) to
          determine if support for atomic types using _Atomic is enabled.
          Clang also provides a set of builtins which can be used to implement
          the <stdatomic.h> operations on _Atomic types.
      
      I'm not sure if this guarantees that the GNU atomic builtins (the ones
      with the __atomic prefix) are also available, but in practice this
      should guarantee that Clang is new enough.
      
      With this change in place, Clang generates several diagnostics when
      compiling the generic atomicops implementation. These appear to be bugs
      in the generic atomicops implementation and are not Clang-specific.
      628a23ba
  2. 13 Sep, 2014 1 commit
  3. 04 Sep, 2014 5 commits
  4. 03 Sep, 2014 1 commit
    • huahang's avatar
      fix a compile warning · 27fcf9bf
      huahang authored
      This change fixes the following compiler warning:
      
      warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
      27fcf9bf
  5. 02 Sep, 2014 1 commit
  6. 30 Aug, 2014 1 commit
  7. 29 Aug, 2014 1 commit
  8. 28 Aug, 2014 5 commits
  9. 27 Aug, 2014 1 commit
  10. 26 Aug, 2014 1 commit
  11. 25 Aug, 2014 2 commits
  12. 20 Aug, 2014 1 commit
  13. 14 Aug, 2014 2 commits
  14. 13 Aug, 2014 3 commits
  15. 12 Aug, 2014 2 commits
  16. 07 Aug, 2014 3 commits
  17. 06 Aug, 2014 2 commits
  18. 05 Aug, 2014 2 commits
    • jieluo@google.com's avatar
      Remove AM_PROG_AR. · ce58c880
      jieluo@google.com authored
      With AM_PROG_AR may report "error: possibly underfined macro: AM_PROG_AR" (mingw, autoreconf-2.68).
      Without AM_PROG_AR may report warning "archiver requires 'AM_PROG_AR' in 'configure.ac'" (cygwin, automake-1.12).
      They do not affect the tests and install
      ce58c880
    • jieluo@google.com's avatar
      make changes to pass Cygwin · abe61de6
      jieluo@google.com authored
      abe61de6
  19. 01 Aug, 2014 1 commit
  20. 31 Jul, 2014 2 commits
  21. 30 Jul, 2014 1 commit
  22. 25 Jul, 2014 1 commit