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

Too many warning: pointer is missing a nullability type specifier when build with clang #11217

Open
JackyWoo opened this issue Oct 10, 2024 · 0 comments · May be fixed by #11218
Open

Too many warning: pointer is missing a nullability type specifier when build with clang #11217

JackyWoo opened this issue Oct 10, 2024 · 0 comments · May be fixed by #11218
Labels
build triage Newly created issue that needs attention.

Comments

@JackyWoo
Copy link
Contributor

JackyWoo commented Oct 10, 2024

Problem description

Too many warning: pointer is missing a nullability type specifier, I can not even copy the whole build log from CLion.

System information

UBuntu clang-15

CMake log

/data1/home/wujianchao/project/jd/velox/./velox/expression/EvalCtx.h:567:16: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
  core::ExecCtx* const execCtx_;
               ^
/data1/home/wujianchao/project/jd/velox/./velox/expression/EvalCtx.h:567:16: note: insert '_Nullable' if the pointer may be null
  core::ExecCtx* const execCtx_;
               ^
                 _Nullable
/data1/home/wujianchao/project/jd/velox/./velox/expression/EvalCtx.h:567:16: note: insert '_Nonnull' if the pointer should never be null
  core::ExecCtx* const execCtx_;
@JackyWoo JackyWoo added build triage Newly created issue that needs attention. labels Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build triage Newly created issue that needs attention.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant