
8 Feb
2007
8 Feb
'07
1:45 p.m.
msghdr structure used by asio would require "_XOPEN_SOURCE_EXTENDED" or "_XOPEN_SOURCE=500/600" to be defined since it is compliant with X/Open Networking Services Library Functions and also would require to be linked against -libxnet at least on Solaris.
I believe _XOPEN_SOURCE_EXTENDED is HP/UX specific.
No particular compiler flags are mentioned in man pages. However, standards man page suggests that "-D_XOPEN_SOURCE=500" or "-D_XOPEN_SOURCE=600" be passed to compiler. It would be helpful if the asio library takes care of this in the header file.
Not sure - what does AIX for instance require? Oliver