Skip to content

Make erpc in MINGW in Windows 10 #185

@kolodych

Description

@kolodych

Hello.
I have problems with compilling in MINGW. When I try to "make install" next error appears:

erpc/erpc_c/port/erpc_serial.cpp:210:19: error: unused variable 'bread' [-Werror=unused-variable]
     unsigned long bread = 0;erpc/erpc_c/port/erpc_serial.cpp:309:70: error: 'strnlen_s' was not declared in this scope
         memcpy(full_path, port, strnlen_s(port, sizeof(full_path) - 1));
                                                                      ^
At global scope:
cc1plus.exe: error: unrecognized command line option '-Wno-deprecated-register' [-Werror]
cc1plus.exe: all warnings being treated as errors

What I am doing wrong?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions