Skip to content

Compilation with Intel oneAPI: Many warnings #244

@MarDiehl

Description

@MarDiehl

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:

<toolset>intel-linux:<cxxflags>"-wd177,780,2196,1782,193,304,981,1418,411,734,279"

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:

if (CMAKE_CXX_COMPILER_ID STREQUAL "Intel")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions