lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] C++


From: Zschocke, Florian
Subject: [lwip-users] C++
Date: Thu, 12 Jun 2003 16:30:39 +0200

I take it that most of you work with C. When using lwIP in a mixed C/C++
envirounment (like we do) you get the problem that the headers have no C
declarations when used in C++ files which will lead to unresolved symbols.

I would thus like to suggest the use of extern "C" declarations throughout
the lwip headers, like so:

#ifdef __cplusplus
extern "C" {
#endif

/* functions and structures */

#ifdef __cplusplus
}
#endif

Florian.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]