0

I have react-native@.70 and when i run this command npx react-native run-android project run successfully. but it given be these warnings

> Task :react-native-reanimated:buildCMakeDebug[arm64-v8a]
C/C++: ninja: Entering directory `C:\repos\Mobile Apps\ParkingZone\node_modules\react-native-reanimated\android\.cxx\Debug\441224z2\arm64-v8a'
C/C++: ../../../../src/main/cpp/NativeProxy.cpp:357:11: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
C/C++: ../../../../src/main/cpp/NativeProxy.cpp:357:11: note: remove std::move call here
C/C++: ../../../../src/main/cpp/NativeProxy.cpp:360:11: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
C/C++: ../../../../src/main/cpp/NativeProxy.cpp:360:11: note: remove std::move call here

> Task :react-native-reanimated:buildCMakeDebug[armeabi-v7a]
C/C++: ninja: Entering directory `C:\repos\Mobile Apps\ParkingZone\node_modules\react-native-reanimated\android\.cxx\Debug\441224z2\armeabi-v7a'
C/C++: ../../../../src/main/cpp/NativeProxy.cpp:357:11: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
C/C++: ../../../../src/main/cpp/NativeProxy.cpp:357:11: note: remove std::move call here
C/C++: ../../../../src/main/cpp/NativeProxy.cpp:360:11: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
C/C++: ../../../../src/main/cpp/NativeProxy.cpp:360:11: note: remove std::move call here

    > Task :react-native-reanimated:buildCMakeDebug[x86]
    C/C++: ninja: Entering directory `C:\repos\Mobile Apps\ParkingZone\node_modules\react-native-reanimated\android\.cxx\Debug\441224z2\x86'
    C/C++: ../../../../src/main/cpp/NativeProxy.cpp:357:11: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
    C/C++: ../../../../src/main/cpp/NativeProxy.cpp:357:11: note: remove std::move call here
    C/C++: ../../../../src/main/cpp/NativeProxy.cpp:360:11: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
    C/C++: ../../../../src/main/cpp/NativeProxy.cpp:360:11: note: remove std::move call here
    
    > Task :react-native-reanimated:buildCMakeDebug[x86_64]
    C/C++: ninja: Entering directory `C:\repos\Mobile Apps\ParkingZone\node_modules\react-native-reanimated\android\.cxx\Debug\441224z2\x86_64'
    C/C++: ../../../../src/main/cpp/NativeProxy.cpp:357:11: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
    C/C++: ../../../../src/main/cpp/NativeProxy.cpp:357:11: note: remove std::move call here
    C/C++: ../../../../src/main/cpp/NativeProxy.cpp:360:11: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
    C/C++: ../../../../src/main/cpp/NativeProxy.cpp:360:11: note: remove std::move call here

and its take abiut 30 min to run this command.

0 Answers0