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

warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] #546

Open
shi-eric opened this issue Feb 24, 2025 · 0 comments
Assignees

Comments

@shi-eric
Copy link
Contributor

Despite using the --std=c++17 flag in build_dll.py, the aarch64 test jobs still emit these warnings, e.g. https://github.com/NVIDIA/warp/actions/runs/13495115956/job/37701020438#step:6:150

In file included from /home/runner/.cache/warp/1.6.0/wp_warp.tests.geometry.test_bvh_0ca96c9_p1856/wp_warp.tests.geometry.test_bvh_0ca96c9.cpp:4:
In file included from /home/runner/work/warp/warp/warp/native/builtin.h:1461:
/home/runner/work/warp/warp/warp/native/quat.h:375:71: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
    static_assert((Rows == 3 && Cols == 3) || (Rows == 4 && Cols == 4));
                                                                      ^
                                                                      , ""
/home/runner/work/warp/warp/warp/native/quat.h:1109:71: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
    static_assert((Rows == 3 && Cols == 3) || (Rows == 4 && Cols == 4));
                                                                      ^
                                                                      , ""
@shi-eric shi-eric changed the title aarch64 builds: warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] warning: 'static_assert' with no message is a C++17 extension [-Wc++17-extensions] Feb 26, 2025
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

No branches or pull requests

2 participants