You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: