Skip to content

SAL 2 annotation errors in TraceLoggingDynamic.h #36

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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