boostorg / boostorg/log

Compilation with Intel oneAPI: Many warnings

Open
#244 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
211
Forks
113
PR merge metrics
No merged PRs in 30d

Description

When installing boost with Intel oneAPI using the recommended way (bootstrap), the compiler gives the following warning

```
These options as listed are not supported.
For more information, use '-qnextgen-diag'.
option list:
-ip
-wd177,780,2196,1782,193,304,981,1418,411,734,279
```

This is defined here:
https://github.com/boostorg/log/blob/6366d73335d298c8c5c7f7bd80f6931fedb0df1b/build/Jamfile.v2#L98

For CMake, this is not an issue because the new, LLVM-based compiler identifies as `IntelLLVM`, not `Intel` (https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_COMPILER_ID.html) and, hence, the options are not added here:
https://github.com/boostorg/log/blob/6366d73335d298c8c5c7f7bd80f6931fedb0df1b/CMakeLists.txt#L416

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.