www.delorie.com/djgpp/bugs/show.cgi | search |
The preprocessor directives designed to prevent multiple inclusion of netinet/in.h are broken, and fail in their purpose in life. The outcome is a warning (under -g) or fatal error (under -O) involving the functions htonl and htons.
The name used in the ifndef and #define should be the same: 3c3 < #define __dj_include_in_h_ --- > #define __dj_include_netinet_in_h_ 46c46 < #endif /* !__dj_include_in_h_ */ --- > #endif /* !__dj_include_netinet_in_h_ */
webmaster | delorie software privacy |
Copyright © 2010 by DJ Delorie | Updated Jul 2010 |