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
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.
The text was updated successfully, but these errors were encountered:
In case picoTCP decides not to make this change, or you don't want to wait for them, there's a slightly simpler solution for you : rather than going around all picoTCP headers to put in that extern, you could just use
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.
The text was updated successfully, but these errors were encountered: