Skip to content

std::auto_ptr<...> needs to have dll-interface warning on Visual Studio 2022 (MSBuild 17) #32

Open
@starthal

Description

I'm not sure if this is related to #18.

We see the warning std::auto_ptr<...> needs to have dll-interface when building with VS2022 (MSBuild 17.x).

This appears to be ignored in one of the official analyzers: https://github.com/saleae/modbus-analyzer/blob/0b2845dc1d2bb1322aae695a32b94d42d9bb2012/src/ModbusAnalyzer.h#L28-L30

Is the warning relevant? If not, is it appropriate to suppress the warning in the header as it was done there?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions