error: extra qualification... problems compiling differents programs with the new gcc 4.1
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all: I try compiled mplayer (error on LiveMedia libs) and aMule and find the same type of error: extra qualification. I just see now that gcc 4.1 is EXPERIMENTAL: linux:/opt/aMule-Unicode/amule-cvs-20051120/src # gcc -v Using built-in specs. Target: i586-suse-linux Configured with: ../configure --enable-threads=posix --prefix=/usr - --with-local-prefix=/usr/local --infodir=/usr/share/info - --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib - --enable-languages=c,c++,objc,f95,java,ada --enable-checking - --with-gxx-include-dir=/usr/include/c++/4.1.0 --disable-libssp - --enable-java-awt=gtk --disable-libjava-multilib --with-slibdir=/lib - --with-system-zlib --enable-shared --enable-__cxa_atexit - --enable-libstdcxx-allocator=new --without-system-libunwind - --host=i586-suse-linux Thread model: posix gcc version 4.1.0 20051110 (experimental) (SUSE Linux) Oh my God!!! Any idea? cheers - -- Chema Ollés Usuario Linux: #198057 Linux 2.6.14-rc3-smp #7 SMP Thu Nov 17 01:00:40 CET 2005 i686 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDgM1v65SpD7GhbzoRAgwFAKCjAB5xqhNWIBezXfz6ZX+k1cn44QCfTjz/ Pl8FJbSSAoEG8Tmjr9pj+6Q= =Ox8y -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chema Ollés escribió:
I just see now that gcc 4.1 is EXPERIMENTAL:
I see this when look apt server-> Upgrading packages (8): cpp-4.1.0_20051116-3@i586 libgcj-4.1.0_20051116-3@i586 gcc-4.1.0_20051116-3@i586 libgcj-devel-4.1.0_20051116-3@i586 gcc-c++-4.1.0_20051116-3@i586 libstdc++-4.1.0_20051116-3@i586 gcc-java-4.1.0_20051116-3@i586 libstdc++-devel-4.1.0_20051116-3@i586 Must I update it and solved the program? cheers - -- Chema Ollés Usuario Linux: #198057 Linux 2.6.14-rc3-smp #7 SMP Thu Nov 17 01:00:40 CET 2005 i686 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDgM5565SpD7GhbzoRAqKsAJ4s/s55vk9dzK0UHfVA3YUirWoJuACcCi/C vppuO4tef1iLgrnEjfMF9kk= =mZqH -----END PGP SIGNATURE-----
On Sun, Nov 20, 2005 at 08:24:31PM +0100, Chema Ollés wrote:
Hi all: I try compiled mplayer (error on LiveMedia libs) and aMule and find the same type of error: extra qualification.
This is a C++ problem of older C++ code. usually you have class Foo { ... Foo::blub(); ... }; This extra Foo:: has to go. Ciao, Marcus
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Marcus Meissner escribió:
This is a C++ problem of older C++ code.
usually you have
class Foo { ...
Foo::blub(); ... };
This extra Foo:: has to go.
Ciao, Marcus Hi Marcus: Thanks,it works... Related with this: Must I update to the new apt package? I don't know if there are any place where I can read about the differences between one and other apt version... cheers
Chema Ollés Usuario Linux: #198057 Linux 2.6.14-rc3-smp #7 SMP Thu Nov 17 01:00:40 CET 2005 i686 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDgNa165SpD7GhbzoRAoghAJ9u0WXxoaXXodUy4ZfwceO2kjepPgCgv1rl d/nhU8dcb5pNsL+6P8mm54Q= =/aV/ -----END PGP SIGNATURE-----
On Sun, 20 Nov 2005 20:24:31 +0100, Chema Ollés wrote:
gcc version 4.1.0 20051110 (experimental) (SUSE Linux) Oh my God!!!
And? Yes, it's experimental, but it will be the next gcc version and this error will stay as it's a bug in older C++ sources that gcc 4.1 rejects. Philipp
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Philipp Thomas escribió:
And? Yes, it's experimental, but it will be the next gcc version and this error will stay as it's a bug in older C++ sources that gcc 4.1 rejects.
Hi Philipp: OK... I understand... cheers - -- Chema Ollés Usuario Linux: #198057 Linux 2.6.14-rc3-smp #7 SMP Thu Nov 17 01:00:40 CET 2005 i686 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDgN7m65SpD7GhbzoRArU8AKCjc+VhiTK2SmIFlf4eV8SFUmIrKgCdFf3K Nrl4iyhvUUPb83wgLKFilm0= =Vkz8 -----END PGP SIGNATURE-----
participants (3)
-
Chema Ollés
-
Marcus Meissner
-
Philipp Thomas