bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Version 1.6.1 still does not compile on WIN32


From: David Sugar
Subject: Re: Version 1.6.1 still does not compile on WIN32
Date: Fri, 28 Sep 2001 08:14:52 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010802

I see the problem, the updated header for socket.h never made it into the win32 subdirectory...

This is one of those "issues" that will go away with 1.9.x and 2.0; one source tree only.

David

Riccardo Scandariato wrote:

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

_______________________________________________
Bug-commoncpp mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/bug-commoncpp






reply via email to

[Prev in Thread] Current Thread [Next in Thread]