[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ccrtp-devel] from rtppkt.cpp:44: ... include/cc++/address.h:240: er
From: |
David Sugar |
Subject: |
Re: [Ccrtp-devel] from rtppkt.cpp:44: ... include/cc++/address.h:240: error: extra '; ' |
Date: |
Tue, 21 Nov 2006 06:52:49 -0500 |
User-agent: |
Thunderbird 1.5.0.8 (X11/20061107) |
I have seen some reports of compile issues with non-class contained
equality operators, but I have not been able to demonstrate them on any
of my machines as of yet. I am thinking of changing that nontheless and
doing a new release.
Chuck Harrison wrote:
> Working on the embedded mips install for openWRT...
>
> [...]
> make[6]: Entering directory `/home/trunk/build_mipsel/ccrtp-1.5.0/src'
>
> /bin/sh ../libtool --tag=CXX --mode=compile mipsel-linux-uclibc-g++
> -DHAVE_CONFIG_H -I. -I. -I.
> -I/home/trunk/staging_dir_mipsel/usr/include
> -I/home/trunk/staging_dir_mipsel/include -Wall -ansi -pedantic
> -fno-builtin -fno-rtti -nostdinc++
> -I/home/trunk/staging_dir_mipsel/include/c++/3.4.6
> -I/home/trunk/staging_dir_mipsel/include/c++/3.4.6/mipsel-linux-uclibc
> -D_GNU_SOURCE -I/home/trunk/build_mipsel/commoncpp2-1.5.2/include -c
> -o rtppkt.lo rtppkt.cpp
>
> mipsel-linux-uclibc-g++ -DHAVE_CONFIG_H -I. -I. -I.
> -I/home/trunk/staging_dir_mipsel/usr/include
> -I/home/trunk/staging_dir_mipsel/include -Wall -ansi -pedantic
> -fno-builtin -fno-rtti -nostdinc++
> -I/home/trunk/staging_dir_mipsel/include/c++/3.4.6
> -I/home/trunk/staging_dir_mipsel/include/c++/3.4.6/mipsel-linux-uclibc
> -D_GNU_SOURCE -I/home/trunk/build_mipsel/commoncpp2-1.5.2/include -c
> rtppkt.cpp -fPIC -DPIC -o .libs/rtppkt.o
>
> In file included from
> /home/trunk/build_mipsel/commoncpp2-1.5.2/include/cc++/socket.h:47,
> from private.h:90,
> from rtppkt.cpp:44:
> /home/trunk/build_mipsel/commoncpp2-1.5.2/include/cc++/address.h:240:
> error: extra `;'
> /home/trunk/build_mipsel/commoncpp2-1.5.2/include/cc++/address.h:243:
> error: extra `;'
> /home/trunk/build_mipsel/commoncpp2-1.5.2/include/cc++/address.h:328:
> error: extra `;'
> /home/trunk/build_mipsel/commoncpp2-1.5.2/include/cc++/address.h:331:
> error: extra `;'
> make[6]: *** [rtppkt.lo] Error 1
> make[6]: Leaving directory `/home/trunk/build_mipsel/ccrtp-1.5.0/src'
> make[5]: *** [all-recursive] Error 1
> make[5]: Leaving directory `/home/trunk/build_mipsel/ccrtp-1.5.0/src'
>
>
> Needless to say, address.h looks fine; after all,
> libccgnu2 compiled against it without errors.
>
> address@hidden:/home/trunk$ less -N
> build_mipsel/commoncpp2-1.5.2/include/cc++/address.h
> [...]
> 165 class __EXPORT IPV4Cidr
> 166 {
> 167 protected:
> 168 struct in_addr netmask, network;
> 169
> 170 unsigned getMask(const char *cp);
> 171 public:
> [...]
> 222 /**
> 223 * See if a socket address is a member of this cidr's
> network.
> 224 *
> 225 * @param saddr pointer to test.
> 226 * @return true if member of cidr.
> 227 */
> 228 bool isMember(struct sockaddr *saddr);
> 229
> 230 /**
> 231 * See if a low level address object is a member of
> this cidr's net.
> 232 *
> 233 * @param inaddr object to test.
> 234 * @return true if member of cidr.
> 235 */
> 236 bool isMember(struct in_addr &inaddr);
> 237 };
> 238
> 239 inline bool operator==(struct sockaddr *sa, IPV4Cidr &cidr)
> 240 {return cidr.isMember(sa);};
> 241
> 242 inline bool operator==(struct in_addr &a, IPV4Cidr &cidr)
> 243 {return cidr.isMember(a);};
> 244
>
> So, huh?? Any idea what could cause this?
>
> Cheers,
> Chuck
>
>
> _______________________________________________
> Ccrtp-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/ccrtp-devel