Skip to content

No 'extern "C"' support in headers #509

Open
@dosadi

Description

@dosadi

Hi,

I am attempting to make use of picoTCP in a C++ environment, and I just got eveything to build and noticed that I am getting symbols not being found due to name mangling issues. Normally you would fix this problem to make the C code in picoTCP useable in a C++ environment by enclosing the relevant forward declarations in the header files like this:

extern "C" {
... body of header file ...
} /* extern "C" */

I am going to have to make this type of change myself all through picoTCP's header files to get everything to build, but I thought I'd also open an issue here on GitHub - I couldn't find much about this on a Google search or here in the issues on GH.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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