Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails with Gcc >= 8 due to implicit conversion #2721

Closed
JohanMabille opened this issue Feb 21, 2020 · 0 comments · Fixed by #2722
Closed

Build fails with Gcc >= 8 due to implicit conversion #2721

JohanMabille opened this issue Feb 21, 2020 · 0 comments · Fixed by #2722

Comments

@JohanMabille
Copy link
Contributor

When building with gcc 8 and above, I have the following error:

/home/travis/build/xtensor-stack/xtensor/build/test/googletest-src/googletest/src/gtest.cc:2112:72: error: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Werror=sign-conversion]
 std::vector<std::string> ArrayAsVector(const char* const (&array)[kSize]) {
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 a pull request may close this issue.

1 participant