Skip to content

- Fix deprecated header in visual studio version 17.3.0 C++20#1246

Merged
copybara-service[bot] merged 2 commits into
abseil:masterfrom
wxilas21:master
Aug 11, 2022
Merged

- Fix deprecated header in visual studio version 17.3.0 C++20#1246
copybara-service[bot] merged 2 commits into
abseil:masterfrom
wxilas21:master

Conversation

@wxilas21
Copy link
Copy Markdown
Contributor

There was a header that was no longer used in c++20 of Visual studio version 17.3.0, so I fixed it.

Comment thread absl/base/options.h Outdated
Delete deprecated header include
@wxilas21 wxilas21 requested a review from derekmauro August 10, 2022 22:20
@derekmauro
Copy link
Copy Markdown
Member

Thank you. This will be merged soon.

@copybara-service copybara-service Bot merged commit 92ac33b into abseil:master Aug 11, 2022
snnn pushed a commit to microsoft/onnxruntime that referenced this pull request Apr 13, 2023
### Description

The following three lines are needed before including some cutlass
header files, because cutlass uses "and"/"or" keywords. Generally it
should not be a problem without this header, but nvcc is not strictly
compliant to C++ standard.

```c++
#ifdef __cplusplus
#include <ciso646>
#endif
```

We didn't hit this problem because the above code exists in absl. We
always include absl headers first. However, ABSL recently deleted them!
abseil/abseil-cpp#1246

The cutlass dependency was introduced in #14343 , after we had abseil.
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.

2 participants