[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Enigma-devel] Fix compilation for GCC 4.1
From: |
Thomas de Grenier de Latour |
Subject: |
[Enigma-devel] Fix compilation for GCC 4.1 |
Date: |
Tue, 21 Mar 2006 13:43:58 +0100 |
Hi,
Attached is a patch to make Enigma (today's trunk) compiles with
gcc-4.1. It just removes three "extra qualifications" ("Foo::bar"
declarations in class "Foo").
Errors logs:
----------------------------------------------------------------
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.
-I/usr/include/SDL -D_REENTRANT -I/usr/include/SDL -D_REENTRANT -O2
-ffast-math -fomit-frame-pointer
-DLOCALEDIR=\"/usr/share/games/locale\" -I../lib-src/zipios++
-I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/enigma-core
-I../lib-src/enet/include -I../lib-src -I../intl -c -o actors.o
actors.cc
file.hh:99: erreur: extra qualification 'enigma::GameFS::' on
member 'GameFS'
----------------------------------------------------------------
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.
-I/usr/include/SDL -D_REENTRANT -I/usr/include/SDL -D_REENTRANT -O2
-ffast-math -fomit-frame-pointer
-DLOCALEDIR=\"/usr/share/games/locale\" -I../lib-src/zipios++
-I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/enigma-core
-I../lib-src/enet/include -I../lib-src -I../intl -c -o actors.o
actors.cc i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.
-I/usr/include/SDL -D_REENTRANT -I/usr/include/SDL -D_REENTRANT -O2
-ffast-math -fomit-frame-pointer
-DLOCALEDIR=\"/usr/share/games/locale\" -I../lib-src/zipios++
-I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/enigma-core
-I../lib-src/enet/include -I../lib-src -I../intl -c -o client.o
client.cc
PreferenceManager.hh:74: erreur: extra qualification
'enigma::PreferenceManager::' on member 'getProperty' main.hh:181:
erreur: extra qualification 'enigma::Application::' on member
'initXerces'
----------------------------------------------------------------
Thanks,
--
TGL.
enigma-trunk99-gcc-4.1-compilation-fix.patch
Description: Text Data
- [Enigma-devel] Fix compilation for GCC 4.1,
Thomas de Grenier de Latour <=