(Courriels de diversion: <surexpose@avachit-artificieuse.com> <repute@aujourd'-meuglement.com> <enivrerez@postdatera-sympas.com> <chariots@alfa-vitrifieras.com> <demaquillent@tondra-prospectrice.com> <assistent@souvenant-accostent.com> <bohemiennes@recriminiez-transcription.com> <scolariserait@cuti-reaction-aspergeons.com> <radiodiffuses@degrossissaient-refugies.com> <sous-estimions@particularises-embrayons.com> )


Ce putain de truc me donne :

g++ -c -I.. -fno-implicit-templates -g texts.c
g++ -c -I.. -fno-implicit-templates -g config.cc
In file included from config.h:8,
                 from config.cc:21:
exception.h:9: redefinition of `class exception'
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.90.29/include/exception:20: previous definition here
exception.h:12: confused by earlier errors, bailing out
make[1]: *** [config.o] Error 1
make: *** [ears/config.o] Error 2

Si je met en commentaire exception :

In file included from exception.cc:21:
exception.h:16: parse error before `{'
exception.h:19: parse error before `char'
exception.h:20: parse error before `const'
exception.h:22: non-member function `print()' cannot have `const' method qualifier
exception.h: In function `void print()':
exception.h:24: `s_' undeclared (first use this function)
exception.h:24: (Each undeclared identifier is reported only once
exception.h:24: for each function it appears in.)
exception.h: At top level:
exception.h:28: parse error before `private'
exception.h:33: base class `fatal_exception' has incomplete type
/usr/include/g++/stl_uninitialized.h: In function `ForwardIterator __uninitialized_copy_aux(InputIterator, InputIterator, ForwardIterator, struct __false_type)':
In file included from /usr/include/g++/algobase.h:39,
                 from /usr/include/g++/list.h:30,
                 from ../ui/user_interface.h:6,
                 from screen.h:6,
                 from exception.cc:22:
/usr/include/g++/stl_uninitialized.h:57: parse error before `...'
/usr/include/g++/stl_uninitialized.h:57: confused by earlier errors, bailing out
make[1]: *** [exception.o] Error 1
make: *** [ears/exception.o] Error 2


Voici en attaché les 2 fichiers en question (tout pitchous, 1k gzippés, il faut
juste supprimer la partie en commentaire myexception (j'ai fait des essais))

Pourquoi in ne veut pas de cette «class exception» ?

g++ avant acceptait bien ça !!! (d'accord il était mal foutu)

Comment je vais faire ? 

Sans la partie publique, bien sur ça ne marche pas !

À l'aide os court !

Un expert en C++ SVP

-- 
This patch package will upgrade WindowMaker-0.51.1 to WindowMaker-0.51.0.
You must unpack it inside the WindowMaker-0.51.0 directory or it will not work.
This patch can only be applied over a clean WindowMaker-0.51.1 distribution.

-- Par WindowMaker patch 0.51.1, « de la programmation par la logique »

exception.cc.gz

exception.h.gz