Skip to content

C++ compilation warning: '$' in identifier [-Wdollar-in-identifier-extension] on Android build #730

@dsngeu

Description

@dsngeu

Environment

  • react-native info output:
When building the Android app, the RNCSlider native code generates C++ compilation warnings about '$' symbols in identifiers.


node_modules/@react-native-community/slider/android/build/generated/source/codegen/jni/react/renderer/components/RNCSlider/EventEmitters.cpp:51:12: warning: '$' in identifier [-Wdollar-in-identifier-extension]
C/C++:    51 |     return $payload;
C/C++: 36 warnings generated.
  • are you using the new architecture? -> Yes

  • which version of react & react-native are you using?
    React: Version: 19.0.0
    React Native: Version: 0.79.5

Description

@react-native-community/slider@5.0.1

Reproducible Demo

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug reportSomething isn't workingplatform: AndroidIssue related to Android platform

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions