react-native-slider icon indicating copy to clipboard operation
react-native-slider copied to clipboard

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

Open dsngeu opened this issue 4 months ago • 1 comments

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/[email protected]

Reproducible Demo

dsngeu avatar Aug 21 '25 12:08 dsngeu

Looks like these warnings were fixed in RN 0.80+

Vyazovoy avatar Aug 25 '25 19:08 Vyazovoy