Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Enable build with clang 4.0#11226

Merged
jkotas merged 1 commit intodotnet:masterfrom
janvorli:enable-clang4.0-build
Apr 26, 2017
Merged

Enable build with clang 4.0#11226
jkotas merged 1 commit intodotnet:masterfrom
janvorli:enable-clang4.0-build

Conversation

@janvorli
Copy link
Member

This change enables build with clang 4.0 and fixes a bunch of new errors that
the stricter compiler was reporting.
The new clang has _rotl and _rotr as intrinsics, complains about > 0 comparison of pointers, reports as error invalid constant literal -9223372036854775808LL (the literal type suffix applies to the value without the sign and so it overflows the long long type) and also had issues with _umul128 parameter types.
Since UnsignedMultiply128 that is defined as _umul128 and none of its callers are used anywhere, I have just deleted it and all of its callers.

This change enables build with clang 4.0 and fixes a bunch of new errors that
the stricter compiler was reporting.
@janvorli
Copy link
Member Author

Fixes #11159
CC: @juergenpf

@jkotas jkotas merged commit 8b1595b into dotnet:master Apr 26, 2017
@janvorli janvorli deleted the enable-clang4.0-build branch April 26, 2017 14:19
@karelz karelz modified the milestone: 2.0.0 Aug 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants