In file included from .pio/libdeps/esp32cam/EloquentVision/src/EloquentVision.h:8:0,
from src\main.cpp:3:
.pio/libdeps/esp32cam/EloquentVision/src/ImageProcessing/MotionDetection.h: In instantiation of 'Eloquent::Vision::MotionDetection<sourceWidth, sourceHeight, blockSize>::MotionDetection(Eloquent::Vision::ImageProcessing::Downscale::ImageDownscaler) [with short unsigned int sourceWidth = 320u; short
unsigned int sourceHeight = 240u; unsigned char blockSize = 10u; Eloquent::Vision::ImageProcessing::Downscale::ImageDownscaler = unsigned char (*)(unsigned char*, short unsigned int, short unsigned int, short unsigned int, short unsigned int, unsigned char); uint8_t = unsigned char; uint16_t = short unsigned int]':
src\main.cpp:17:72: required from here
.pio/libdeps/esp32cam/EloquentVision/src/ImageProcessing/MotionDetection.h:81:29: error: 'Eloquent::Vision::MotionDetection<320u, 240u, 10u>::_downscaler' will be initialized after [-Werror=reorder]
ImageDownscaler _downscaler;
^
.pio/libdeps/esp32cam/EloquentVision/src/ImageProcessing/MotionDetection.h:80:19: error: 'float Eloquent::Vision::MotionDetection<320u, 240u, 10u>::_threshold' [-Werror=reorder]
float _threshold;
^
.pio/libdeps/esp32cam/EloquentVision/src/ImageProcessing/MotionDetection.h:13:13: error: when initialized here [-Werror=reorder]
MotionDetection(ImageDownscaler downscaler) :
^
cc1plus.exe: some warnings being treated as errors
*** [.pio\build\esp32cam\src\main.cpp.o] Error 1
==================================== [FAILED] Took 5.99 seconds ====================================
build_unflags = -Werror=reorder