error C2065: 'in6addr_allnodesonnode' : undeclared identifier

If you are converting VC++/C++ project form Visual Studio 2003 or Visual Studio 2005 to Visual Studio 2008 or later you may hit the error "error C2065: 'in6addr_allnodesonnode' : undeclared identifier" or many such undeclared identifier errors.

One way to resolve the error is to modify the include sequence of the below mentioned header files:


#include <Ws2tcpip.h>
#include <mstcpip.h>

to 

#include <mstcpip.h>
#include <Ws2tcpip.h>
 
Else you will have to declare the WinVer > 0x500

Comments

Popular posts from this blog

How to flash CWM Recovery to Samsung Galaxy SL( GT-I9003) using Odin

How to boot Samsung Galaxy SL( GT-I9003) in recovery mode

Exception handling with RestTemplate