bonjour,
J'ai un probl�me qui me bloque
r�guli�rement, lorsque je d�clare une classe, J'ai un message dont je ne connait ni l'origine ni la solution.
Je vous le soumet
voici le source du header
ce source que je crois conforme est mal jug� par le compilateur
Code : S�lectionner tout - Visualiser dans une fen�tre � part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35 /******************************************************************************* * NOM: * ROLE: * HISTORIQUE: * 05/05/2001, xxx, initial version *******************************************************************************/ #ifndef ANALYSE_H #define ANALYSE_H /*_____INCLUDE-FILES__________________________________________________________*/ namespace SpecificationLoader { using namespace System; using namespace System::ComponentModel; using namespace System::Collections; using namespace System::Windows::Forms; using namespace System::Data; using namespace System::Drawing; using namespace System::IO; /*_____GLOBAL-DEFINE__________________________________________________________*/ /*_____GLOBAL-TYPES___________________________________________________________*/ /*_____GLOBAL-DATA____________________________________________________________*/ /*_____GLOBAL-MACROS__________________________________________________________*/ /*_____GLOBAL-FUNCTIONS-PROTOTYPES____________________________________________*/ class CAnalysedSegment { CAnalysedSegment(); ~CAnalysedSegment(); }; }; #endif /* ANALYSE_H */
je serai content d'avoir un conseil d'une personne
Code : S�lectionner tout - Visualiser dans une fen�tre � part
1
2 1>D:\usr\Specification LoaderV4.01\dev\Linguistic\Analyser\com\Analyse.h(30): error C2011: 'SpecificationLoader::CAnalysedSegment'*: redéfinition du type 'class' 1> D:\usr\Specification LoaderV4.01\dev\Common\com\ClassesAligner.hpp(384)*: voir la déclaration de 'SpecificationLoader::CAnalysedSegment'![]()
Partager