1.3.13: problem using ntohs() in asm/bytorder.h in gcc 3.2.
Shankar Unni
shankar@cotagesoft.com
Mon Nov 4 15:48:00 GMT 2002
On 11/4/2002 1:12 PM, Jens Yllman wrote:
> In C++ it is recommended to use other constructs then
> #define, like const or enum or inline. But I see the use of #define.
And that is unfortunately necessary, since the worse evil is maintaining
separate copies of <netinet/in.h> for C and C++ compilers - that could
quickly become a maintenance nightmare.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list