Skip to content

Building with clang-16 error -Wenum-constexpr-conversion #1198

Closed

Description

@ammarfaizi2

Hi,

Building with clang-16 error -Wenum-constexpr-conversion:

napi.h:1173:7: error: integer value -1 is outside the valid range of values [0, 15] for this enumeration type [-Wenum-constexpr-conversion]
      static_cast<napi_typedarray_type>(-1);
      ^
1 error generated.

Activity

  1. NickNaso commented on Aug 18, 2022

    @NickNaso
    Member

    Hi @ammarfaizi2,
    I think that this issue is correlate with PR #1066 and issue #1066 wea re working on solve it. Thanks for reporting.

  2. NickNaso commented on Nov 3, 2022

    @NickNaso
    Member

    I'm closing the issue because it has been solved with PR #1209

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