Skip to content

Fix warning when compiling rust wrapper C++#242

Merged
LegNeato merged 1 commit intoRust-GPU:mainfrom
LegNeato:fixwarning
Aug 1, 2025
Merged

Fix warning when compiling rust wrapper C++#242
LegNeato merged 1 commit intoRust-GPU:mainfrom
LegNeato:fixwarning

Conversation

@LegNeato
Copy link
Copy Markdown
Contributor

@LegNeato LegNeato commented Aug 1, 2025

This was output:

warning: rustc_codegen_nvvm@0.3.0:
  rustc_llvm_wrapper/RustWrapper.cpp:43:45: warning: 'static_assert'
  without a message only available with '-std=c++17' or '-std=gnu++17'
  [-Wc++17-extensions]
  warning: rustc_codegen_nvvm@0.3.0:    43
  static_assert(dwarf::DW_OP_LLVM_fragment == 0x1000);

This was output:
```
warning: rustc_codegen_nvvm@0.3.0:
  rustc_llvm_wrapper/RustWrapper.cpp:43:45: warning: 'static_assert'
  without a message only available with '-std=c++17' or '-std=gnu++17'
  [-Wc++17-extensions]
  warning: rustc_codegen_nvvm@0.3.0:    43
  static_assert(dwarf::DW_OP_LLVM_fragment == 0x1000);
```
@LegNeato LegNeato merged commit 816f383 into Rust-GPU:main Aug 1, 2025
7 checks passed
@LegNeato LegNeato deleted the fixwarning branch August 1, 2025 19:22
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.

1 participant