Erreurs zarb à la compilation

Erreurs zarb à la compilation - C++ - Programmation

Marsh Posté le 05-04-2008 à 21:41:37    

salut!
 
J'ai plein d'erreurs sur des hpp de xerces que j'inclu à mon projet.
Ca porte sur ces lignes là:
 

Code :
  1. XERCES_CPP_NAMESPACE_BEGIN


 

Code :
  1. ..\..\include\include\xercesc\util\XMLUniDefs.hpp|26|error: expected unqualified-id before "namespace"|
  2. ..\..\include\include\xercesc\util\HashBase.hpp|24|error: expected unqualified-id before "namespace"|
  3. ..\..\include\include\xercesc\util\IllegalArgumentException.hpp|29|error: expected unqualified-id before "namespace"|
  4. ..\..\include\include\xercesc\util\NoSuchElementException.hpp|29|error: expected unqualified-id before "namespace"|
  5. ..\..\include\include\xercesc\util\RuntimeException.hpp|29|error: expected unqualified-id before "namespace"|
  6. ..\..\include\include\xercesc\util\HashXMLCh.hpp|23|error: expected unqualified-id before "namespace"|
  7. ..\..\include\include\xercesc\util\RefHashTableOf.hpp|36|error: expected unqualified-id before "namespace"|
  8. ..\..\include\include\xercesc\util\Janitor.hpp|29|error: expected unqualified-id before "namespace"|
  9. ..\..\include\include\xercesc\util\Janitor.c|30|error: expected unqualified-id before "namespace"|
  10. ..\..\include\include\xercesc\util\NullPointerException.hpp|29|error: expected unqualified-id before "namespace"|
  11. C:\CodeBlocks\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\include\assert.h|23|error: expected unqualified-id before string constant|
  12. ..\..\include\include\xercesc\util\RefHashTableOf.c|35|error: expected unqualified-id before "namespace"|
  13. ..\..\include\include\xercesc\util\ValueVectorOf.hpp|31|error: expected unqualified-id before "namespace"|
  14. ..\..\include\include\xercesc\util\ValueVectorOf.c|31|error: expected unqualified-id before "namespace"|
  15. ..\..\include\include\xercesc\internal\XSerializationException.hpp|29|error: expected unqualified-id before "namespace"|
  16. ..\..\include\include\xercesc\internal\XSerializeEngine.hpp|31|error: expected unqualified-id before "namespace"|
  17. ..\..\include\include\xercesc\internal\XProtoType.hpp|28|error: expected unqualified-id before "namespace"|
  18. ..\..\include\include\xercesc\internal\XSerializable.hpp|28|error: expected unqualified-id before "namespace"|
  19. ..\..\include\include\xercesc\util\QName.hpp|32|error: expected unqualified-id before "namespace"|
  20. ..\..\include\include\xercesc\framework\XMLAttDef.hpp|30|error: expected unqualified-id before "namespace"|
  21. ..\..\include\include\xercesc\util\KVStringPair.hpp|30|error: expected unqualified-id before "namespace"|
  22. ..\..\include\include\xercesc\util\RefArrayVectorOf.hpp|23|error: expected unqualified-id before "namespace"|
  23. ..\..\include\include\xercesc\util\RefArrayVectorOf.c|25|error: expected unqualified-id before "namespace"|
  24. ..\..\include\include\xercesc\util\RefVectorOf.hpp|27|error: expected unqualified-id before "namespace"|
  25. ..\..\include\include\xercesc\util\RefVectorOf.c|30|error: expected unqualified-id before "namespace"|
  26. ..\..\include\include\xercesc\util\regx\Op.hpp|31|error: expected unqualified-id before "namespace"|
  27. ..\..\include\include\xercesc\util\regx\Token.hpp|31|error: expected unqualified-id before "namespace"|
  28. ..\..\include\include\xercesc\util\Mutexes.hpp|29|error: expected unqualified-id before "namespace"|
  29. ..\..\include\include\xercesc\util\regx\TokenFactory.hpp|32|error: expected unqualified-id before "namespace"|
  30. ..\..\include\include\xercesc\util\regx\BMPattern.hpp|30|error: expected unqualified-id before "namespace"|
  31. ..\..\include\include\xercesc\util\regx\ModifierToken.hpp|30|error: expected unqualified-id before "namespace"|
  32. ..\..\include\include\xercesc\util\regx\ConditionToken.hpp|30|error: expected unqualified-id before "namespace"|
  33. ..\..\include\include\xercesc\util\regx\OpFactory.hpp|31|error: expected unqualified-id before "namespace"|
  34. ..\..\include\include\xercesc\util\regx\RegxUtil.hpp|31|error: expected unqualified-id before "namespace"|
  35. ..\..\include\include\xercesc\util\regx\RegularExpression.hpp|39|error: expected unqualified-id before "namespace"|
  36. ..\..\include\include\xercesc\validators\schema\SchemaSymbols.hpp|27|error: expected unqualified-id before "namespace"|
  37. ..\..\include\include\xercesc\framework\psvi\XSConstants.hpp|28|error: expected unqualified-id before "namespace"|
  38. ..\..\include\include\xercesc\framework\psvi\XSObject.hpp|28|error: expected unqualified-id before "namespace"|
  39. ..\..\include\include\xercesc\framework\psvi\XSTypeDefinition.hpp|27|error: expected unqualified-id before "namespace"|
  40. ..\..\include\include\xercesc\framework\psvi\XSSimpleTypeDefinition.hpp|27|error: expected unqualified-id before "namespace"|
  41. ..\..\include\include\xercesc\util\NameIdPool.hpp|30|error: expected unqualified-id before "namespace"|
  42. C:\CodeBlocks\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\include\assert.h|23|error: expected unqualified-id before string constant|
  43. ..\..\include\include\xercesc\util\NameIdPool.c|36|error: expected unqualified-id before "namespace"|
  44. ..\..\include\include\xercesc\framework\ValidationContext.hpp|30|error: expected unqualified-id before "namespace"|
  45. ..\..\include\include\xercesc\validators\datatype\DatatypeValidator.hpp|35|error: expected unqualified-id before "namespace"|
  46. ..\..\include\include\xercesc\framework\XMLAttr.hpp|30|error: expected unqualified-id before "namespace"|
  47. ..\..\include\include\xercesc\framework\XMLValidityCodes.hpp|10|error: expected unqualified-id before "namespace"|
  48. ..\..\include\include\xercesc\framework\XMLValidator.hpp|29|error: expected unqualified-id before "namespace"|
  49. ..\..\include\include\xercesc\framework\XMLPScanToken.hpp|28|error: expected unqualified-id before "namespace"|
  50. ..\..\include\include\xercesc\sax2\SAX2XMLReader.hpp|30|error: expected unqualified-id before "namespace"|
  51. ||More errors follow but not being shown.|
  52. ||Edit the max errors limit in compiler options...|
  53. ||=== Build finished: 50 errors, 0 warnings ===|

Reply

Marsh Posté le 05-04-2008 à 21:41:37   

Reply

Marsh Posté le 06-04-2008 à 14:23:12    

s'il vous plait.

Reply

Marsh Posté le 07-04-2008 à 10:19:23    

Me souviens pas d'avoir eu ce problème avec xerces, de mon côté.
 
Tu compiles bien avec g++ ?

Reply

Marsh Posté le 07-04-2008 à 21:55:54    

oui

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed