Mail Archives: cygwin/1998/04/05/03:04:43
Bug report in the file:
/Cygnus/B19/H-i386-cygwin32/i386-cygwin32/include/asm/byteorder.h
It is missing the standard cplusplus stuff, i.e:
#ifdef __cplusplus
extern "C" {
#endif
,,,
#ifdef __cplusplus
}
#endif
If you include this file (e.g. indirectly by including <netinet/in.h>) when
compiling with g++ with no optimizations you get htons undefined. This was
probably missed because if you compile with optimizations the routines defined
in this file are turned into macroes.
I am using egcs-1.02, (from
http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ ) and it is possible
that file came from the egcs distribution.
-- Orran Krieger
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -