[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Version 1.6.1 still does not compile on WIN32
From: |
Riccardo Scandariato |
Subject: |
Version 1.6.1 still does not compile on WIN32 |
Date: |
Fri, 28 Sep 2001 13:45:06 +0200 |
Regards,
-- Riccardo Scandariato
BUG: illegal pure syntax in
InetMcastAddrValidator: public InetAddrValidator
{
...
#if __BYTE_ORDER == __BIG_ENDIAN
static const uint32 MCAST_VALID_MASK = 0xF0000000;
static const uint32 MCAST_VALID_VALUE = 0xE0000000;
#else
static const uint32 MCAST_VALID_MASK = 0x000000F0;
static const uint32 MCAST_VALID_VALUE = 0x000000E0;
#endif
...
}
NOTE: static consts must be initialized in inaddr.cpp as follows:
#if __BYTE_ORDER == __BIG_ENDIAN
const uint32 InetMcastAddrValidator::MCAST_VALID_MASK = 0xF0000000;
const uint32 InetMcastAddrValidator::MCAST_VALID_VALUE = 0xE0000000;
#else
const uint32 InetMcastAddrValidator::MCAST_VALID_MASK = 0x000000F0;
const uint32 InetMcastAddrValidator::MCAST_VALID_VALUE = 0x000000E0;
#endif
- Version 1.6.1 still does not compile on WIN32,
Riccardo Scandariato <=