Skip to content

C++: request for support more C++ features to avoid failures in CodeQL compile #16652

Open
@qwerty472123

Description

@qwerty472123

Support these can make developer analyzing projects easiler, which not require to change the lots of projects code rely on these.

  1. -Wno-c++11-narrowing and -Wno-narrowing

There are some projects use these flags, and extractor support --diag_suppress narrowing_conversion, too. However, the conversion between the --mimic format of commandline to processed commandline won't translate -Wno-narrowing into --diag_suppress narrowing_conversion.

And there is no option to set -Wno-c++11-narrowing without downgrading the c++ standard version or changing source code to compile.

  1. the marco __FILE_NAME__

This is a non-standard marco but clang and gcc support and some projects use them.

  1. arm_neon.h

Some cross-compile projects will raise errors in these functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C++questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions