react-native-slider
react-native-slider copied to clipboard
C++ compilation warning: '$' in identifier [-Wdollar-in-identifier-extension] on Android build
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
Looks like these warnings were fixed in RN 0.80+