Dear Sir
I am using debian, and during compilation this error cropped up:
libmodbuspp/include/modbuspp/data.h:374:20: error: 'out_of_range' is not a member of 'std'
374 | throw std::out_of_range (str);
My os info is as follows: gcc version 10.2.1 20210110 (Debian 10.2.1-6)
i fixed it by including the header file stdexcept to the data.h file, and thereafter the compilation had no further issues.
Dear Sir I am using debian, and during compilation this error cropped up:
libmodbuspp/include/modbuspp/data.h:374:20: error: 'out_of_range' is not a member of 'std' 374 | throw std::out_of_range (str);
My os info is as follows: gcc version 10.2.1 20210110 (Debian 10.2.1-6) i fixed it by including the header file stdexcept to the data.h file, and thereafter the compilation had no further issues.
Regards. Stoffels