libmodbuspp icon indicating copy to clipboard operation
libmodbuspp copied to clipboard

complation issue

Open Stoffels opened this issue 3 years ago • 0 comments

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

Stoffels avatar Apr 19 '22 10:04 Stoffels