Skip to content

complation issue #24

@Stoffels

Description

@Stoffels

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions