-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fixed. The class CodImpExp was being predeclare as "friend" which was screwing gcc 3.x up (although gcc 4 could handle it) however as it turns out that friend declaration isn't actually necessary, so I just took it out.

On Wed, 16 Nov 2005, Reed Hedges wrote:


Here's a compiler error in cod.cc in CVS.  It seems to be basically
ignoring the definition of the CODImpExp class!  I have no idea what the
problem is.  Jason has had the same problem I think. I'm using GCC 3.4
on Debian.

Any ideas?

[EMAIL PROTECTED]:~/Interreality/vos/libs/vos/vos$ make
if /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I. -I. -I../../../libs/vos -I../../../libs -I../../../libs
-DVOS_EXPORTS  -D_REENTRANT  -g  -D_REENTRANT -D_PTHREADS -g -Wall -MT
cod.lo -MD -MP -MF ".deps/cod.Tpo" -c -o cod.lo cod.cc; \
then mv -f ".deps/cod.Tpo" ".deps/cod.Plo"; else rm -f ".deps/cod.Tpo";
exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../../../libs/vos -I../../../libs
-I../../../libs -DVOS_EXPORTS -D_REENTRANT -g -D_REENTRANT -D_PTHREADS
-g -Wall -MT cod.lo -MD -MP -MF .deps/cod.Tpo -c cod.cc  -fPIC -DPIC -o
.libs/cod.o
cod.cc:685: error: `CODImpExp' does not name a type
cod.cc:687: error: `CODImpExp' has not been declared
cod.cc:688: error: ISO C++ forbids declaration of `CODImpExp' with no type
cod.cc: In function `int CODImpExp()':
cod.cc:689: error: invalid use of `this' in non-member function
cod.cc:690: error: invalid use of `this' in non-member function
cod.cc: At global scope:
cod.cc:693: error: `CODImpExp' has not been declared
cod.cc:698: error: `CODImpExp' has not been declared
cod.cc:703: error: `CODImpExp' has not been declared
cod.cc:708: error: `CODImpExp' has not been declared
cod.cc:713: error: `CODImpExp' has not been declared
cod.cc:720: error: `CODImpExp' has not been declared
cod.cc:727: error: `CODImpExp' has not been declared
cod.cc:734: error: `CODImpExp' has not been declared
make: *** [cod.lo] Error 1



[EMAIL PROTECTED]:~/Interreality/vos/libs/vos/vos$ gcc --version
gcc (GCC) 3.4.5 20050821 (prerelease) (Debian 3.4.4-8)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



_______________________________________________
vos-d mailing list
vos-d@interreality.org
http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d


[   Peter Amstutz   ][ [EMAIL PROTECTED] ][ [EMAIL PROTECTED]  ]
[Lead Programmer][Interreality Project][Virtual Reality for the Internet]
[ VOS: Next Generation Internet Communication][ http://interreality.org ]
[ http://interreality.org/~tetron ][ pgpkey:  pgpkeys.mit.edu  18C21DF7 ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDe/O2aeHUyhjCHfcRApavAJ9yrbvIfQubeprwvTcg1g4GoOt7dgCgn5aS
wrcg4ctRk+7iAF/d1m1hzMc=
=YB1M
-----END PGP SIGNATURE-----


_______________________________________________
vos-d mailing list
vos-d@interreality.org
http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d

Reply via email to