Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Add patch to allow build with clang 7.3 #207

Merged
merged 2 commits into from
Apr 24, 2016
Merged

Add patch to allow build with clang 7.3 #207

merged 2 commits into from
Apr 24, 2016

Commits on Apr 23, 2016

  1. Add patch to allow build with clang 7.3

    This adds the -Wno-shift-negative-value flag to Clang. Clang 7.3 was introduced
    in OSX with XCode 7.3.
    
    Without this flag, compiling with Clang 7.3 fails with errors such as:
    
        In file included from ../src/elements.h:32:
        ../src/objects.h:5252:44: error: shifting a negative signed value is undefined
        [-Werror,-Wshift-negative-value]
          static const int kElementsKindMask = (-1 << kElementsKindShift) &
                                                ~~ ^
        ../src/objects.h:7386:36: error: shifting a negative signed value is undefined
        [-Werror,-Wshift-negative-value]
              (~kMaxCachedArrayIndexLength << kArrayIndexHashLengthShift) |
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
        2 errors generated.
    Jb Aviat committed Apr 23, 2016
    Configuration menu
    Copy the full SHA
    14a128d View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2016

  1. Fix travis Linux tests

    Some versions of Ruby used an old Bundler version.
    Jb Aviat committed Apr 24, 2016
    Configuration menu
    Copy the full SHA
    b2a6393 View commit details
    Browse the repository at this point in the history