Skip to content

Conversation

vadz
Copy link
Contributor

@vadz vadz commented Jul 8, 2017

Adding a return statement after __assume(0) resulted in "warning C4702:
unreachable code" when building with MSVC, which broke the build as warnings
are fatal due to the use of /WX options.

Fix this by using this return statement only with the Intel compiler, which
apparently needs it (see e3f81c4).

Adding a return statement after __assume(0) resulted in "warning C4702:
unreachable code" when building with MSVC, which broke the build as warnings
are fatal due to the use of /WX options.

Fix this by using this return statement only with the Intel compiler, which
apparently needs it (see e3f81c4).
@msftclas
Copy link

msftclas commented Jul 8, 2017

@vadz,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@ras0219-msft
Copy link
Contributor

Thanks!

@vadz vadz deleted the fix-msvc-build branch September 7, 2017 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants