Bonjour,
j'utilise une librairie qui redefinie une type "Char" (typedef char Char; )or en Dot Net il existe un type "System::Char" avec le "C" majuscule aussi. Je ne peux evidemment pas retoucher à la librairie, il faut donc que j'arrive à faire ignorer le type "System::Char" au compilateur, mais comment faire ?
#undef System::Char ne fonctionne pas ...
Voici l'erreur :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 c:\program files\pandore5.2.1\include\promotions.h(211) : error C2872: 'Char' : symbole ambigu est peut-être 'c:\program files\pandore5.2.1\include\ptypes.h(39) : char Char' ou 'c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Char' c:\program files\pandore5.2.1\include\promotions.h(213) : error C2872: 'Char' : symbole ambigu
Merci à vous
Partager