We have an embedded product and make use of Visual Studio to develop code. We also build our code base using gcc and an embedded tool chain.
We also make use of Boost library and one in concern in boost/asio/ip/address.hpp. We also have TCP/IP library which has its own socket.h header file
Now we need the functionality of Boost address but all declarations of socket data should refer from socket.h
When I compile my CPP code include boost address.hpp & socket.h I get multiple macro re-definition issue from winsocket header files.
How can I avoid this issue?
Aucun commentaire:
Enregistrer un commentaire