Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

complation issue #24

Open
Stoffels opened this issue Apr 19, 2022 · 0 comments
Open

complation issue #24

Stoffels opened this issue Apr 19, 2022 · 0 comments

Comments

@Stoffels
Copy link

Stoffels commented Apr 19, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant