Opened 16 years ago
Closed 15 years ago
#710 closed Bugs (fixed)
asio redefine FD_SETSIZE macro
Reported by: | zhaozg | Owned by: | chris_kohlhoff |
---|---|---|---|
Milestone: | Component: | None | |
Version: | None | Severity: | Problem |
Keywords: | Cc: |
Description
asio sockets_types.hpp line 59, redefine FD_SETSIZE macro!
Change History (5)
comment:2 by , 15 years ago
Resolution: | None |
---|---|
Status: | closed → reopened |
I'm still getting this error when using asio 0.3.7 in a Window XP box with Visual C++ 2005 Express.
c:\work\asio-0.3.7\include\asio\detail\socket_types.hpp(44) : warning C4005: 'FD_SETSIZE' : macro redefinition
comment:4 by , 15 years ago
The workaround on this issue seems to be putting "#include <asio.hpp>" as the first include.
IMHO, a "#ifndef FD_SETSIZE" on socket_types.hpp wouldn't be a bad thing.
comment:5 by , 15 years ago
Resolution: | → fixed |
---|---|
Severity: | → Problem |
Status: | reopened → closed |
As noted previously, this has already been fixed in CVS (now SVN). The fix was applied after asio 0.3.7, and will appear in the next release of asio as well as boost 1.35.
Note:
See TracTickets
for help on using tickets.