error C2976 Aaaaaaahhh Help
-
Changes something in the project settings, and this error keeps coming up. It's driving me crazy! Anyone know what this is...? I've checked all the project settings and no luck.... :sigh: 1>------ Build started: Project: Ms2000TT, Configuration: Debug Win32 ------ 1>Compiling... 1>Ms2000TTBeamScopeModel.cpp 1>c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(83) : error C2976: 'StrTraitMFC_DLL' : too few template arguments 1> c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(65) : see declaration of 'StrTraitMFC_DLL' 1>c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(83) : error C3203: 'StrTraitMFC_DLL' : unspecialized class template can't be used as a template argument for template parameter 'StringTraits', expected a real type 1>c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(85) : error C2976: 'StrTraitMFC_DLL' : too few template arguments 1> c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(65) : see declaration of 'StrTraitMFC_DLL' 1>c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(85) : error C3203: 'StrTraitMFC_DLL' : unspecialized class template can't be used as a template argument for template parameter 'StringTraits', expected a real type 1>c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(93) : error C2976: 'StrTraitMFC_DLL' : too few template arguments 1> c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(65) : see declaration of 'StrTraitMFC_DLL' 1>c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(93) : error C3203: 'StrTraitMFC_DLL' : unspecialized class template can't be used as a template argument for template parameter 'StringTraits', expected a real type 1>c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(94) : error C2976: 'StrTraitMFC_DLL' : too few template arguments 1> c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(65) : see declaration of 'StrTraitMFC_DLL' 1>c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(94) : error C3203: 'StrTraitMFC_DLL' : unspecialized class template can't be used as a template argument for template parameter 'StringTraits', expected a real type 1>c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(95) : error C2976: 'StrTraitMFC_DLL' : too few template arguments 1> c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(65) : see declaration of 'StrTraitMFC_DLL' 1>c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(95) : error C3203: 'StrTraitMFC_DLL' : unspecialized class template can't be used as a
-
Changes something in the project settings, and this error keeps coming up. It's driving me crazy! Anyone know what this is...? I've checked all the project settings and no luck.... :sigh: 1>------ Build started: Project: Ms2000TT, Configuration: Debug Win32 ------ 1>Compiling... 1>Ms2000TTBeamScopeModel.cpp 1>c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(83) : error C2976: 'StrTraitMFC_DLL' : too few template arguments 1> c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(65) : see declaration of 'StrTraitMFC_DLL' 1>c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(83) : error C3203: 'StrTraitMFC_DLL' : unspecialized class template can't be used as a template argument for template parameter 'StringTraits', expected a real type 1>c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(85) : error C2976: 'StrTraitMFC_DLL' : too few template arguments 1> c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(65) : see declaration of 'StrTraitMFC_DLL' 1>c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(85) : error C3203: 'StrTraitMFC_DLL' : unspecialized class template can't be used as a template argument for template parameter 'StringTraits', expected a real type 1>c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(93) : error C2976: 'StrTraitMFC_DLL' : too few template arguments 1> c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(65) : see declaration of 'StrTraitMFC_DLL' 1>c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(93) : error C3203: 'StrTraitMFC_DLL' : unspecialized class template can't be used as a template argument for template parameter 'StringTraits', expected a real type 1>c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(94) : error C2976: 'StrTraitMFC_DLL' : too few template arguments 1> c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(65) : see declaration of 'StrTraitMFC_DLL' 1>c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(94) : error C3203: 'StrTraitMFC_DLL' : unspecialized class template can't be used as a template argument for template parameter 'StringTraits', expected a real type 1>c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(95) : error C2976: 'StrTraitMFC_DLL' : too few template arguments 1> c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(65) : see declaration of 'StrTraitMFC_DLL' 1>c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(95) : error C3203: 'StrTraitMFC_DLL' : unspecialized class template can't be used as a
hi ,project settings "mimize CRT use in ATL" make it no, this is under configuration properties in general tab.