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

Need to turn off unsafe buffer warning. #1786

Open
VictorEijkhout opened this issue Jun 9, 2023 · 0 comments
Open

Need to turn off unsafe buffer warning. #1786

VictorEijkhout opened this issue Jun 9, 2023 · 0 comments

Comments

@VictorEijkhout
Copy link

rangev3-0.12.0/include/meta/meta.hpp:2277:63: error: 'first'
is an unsafe pointer used for buffer access [-Werror,-Wunsafe-buffer-usage]
        constexpr std::size_t find_index_i_(bool const *const first, bool const *const last,
                                            ~~~~~~~~~~~~~~~~~~^~~~~

My attempt to turn off warning-as-error failed. Cmake option -DCMAKE_COMPILE_WARNING_AS_ERROR=OFF but there is still a -Werror on the compile line.

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

1 participant