Skip to content

SAL 2 annotation errors in TraceLoggingDynamic.h #36

@bobbymcr

Description

@bobbymcr

I'm compiling with latest VC, using C++20, and I'm seeing errors in TraceLoggingDynamic.h due to some of the SAL annotations, e.g.:

void AddBytes(
    _In_bytecount_(cb) void const* p,
    unsigned cb)

I think this should be _In_reads_bytes_(cb) based on SAL 2 syntax.

Metadata

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