c++.stlsoft - pod_vector MSVC2008 SP1 compile error
- ShaChris23 (29/29) Nov 22 2008 Hi,
- Matthew Wilson (14/43) Nov 23 2008 Hi
- ShaChris23 (6/61) Nov 26 2008 Hi Matt,
- Matthew Wilson (4/65) Nov 27 2008 I'll take a look this w/e. I should be able to fix it.
- Matthew Wilson (14/86) Nov 30 2008 Fixed it.
Hi, I downloaded 1.9.61, unzipped it, and just #include pod_vector.hpp to test it out, and got the following errors: 1>------ Build started: Project: BoostTest, Configuration: Debug Win32 ------ 1>Compiling... 1>main.cpp 1>c:\documents and settings\administrator\desktop\stlsoft-1.9.61\include\stlsoft\containers pod_vector.hpp(685) : error C2244: 'stlsoft::pod_vector<T,A,SPACE>::size' : unable to match function definition to an existing declaration 1> c:\documents and settings\administrator\desktop\stlsoft-1.9.61\include\stlsoft\containers pod_vector.hpp(206) : see declaration of 'stlsoft::pod_vector<T,A,SPACE>::size' 1> definition 1> 'stlsoft::ss_size_t stlsoft::pod_vector<T,A,SPACE>::size(void) const' 1> existing declarations 1> 'auto_buffer_old<T,A,SPACE>::size_type stlsoft::pod_vector<T,A,SPACE>::size(void) const' 1>c:\documents and settings\administrator\desktop\stlsoft-1.9.61\include\stlsoft\containers pod_vector.hpp(700) : error C2244: 'stlsoft::pod_vector<T,A,SPACE>::capacity' : unable to match function definition to an existing declaration 1> c:\documents and settings\administrator\desktop\stlsoft-1.9.61\include\stlsoft\containers pod_vector.hpp(207) : see declaration of 'stlsoft::pod_vector<T,A,SPACE>::capacity' 1> definition 1> 'stlsoft::ss_size_t stlsoft::pod_vector<T,A,SPACE>::capacity(void) const' 1> existing declarations 1> 'auto_buffer_old<T,A,SPACE>::size_type stlsoft::pod_vector<T,A,SPACE>::capacity(void) const' 1>c:\documents and settings\administrator\desktop\stlsoft-1.9.61\include\stlsoft\containers pod_vector.hpp(715) : error C2244: 'stlsoft::pod_vector<T,A,SPACE>::max_size' : unable to match function definition to an existing declaration 1> c:\documents and settings\administrator\desktop\stlsoft-1.9.61\include\stlsoft\containers pod_vector.hpp(208) : see declaration of 'stlsoft::pod_vector<T,A,SPACE>::max_size' 1> definition 1> 'stlsoft::ss_size_t stlsoft::pod_vector<T,A,SPACE>::max_size(void) const' 1> existing declarations 1> 'auto_buffer_old<T,A,SPACE>::size_type stlsoft::pod_vector<T,A,SPACE>::max_size(void) const' 1>Build log was saved at "file://c:\Documents and Settings\Administrator\Desktop\BoostTest\BoostTest\Debug\BuildLog.htm" 1>BoostTest - 3 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Does anyone know if I missed something? All my code has is just the #include and int main() with nothing in the function body. My platform: MSVC 2008 SP1, WinXP x64. Thanks!
Nov 22 2008
Hi My first guess would be that VC++ 9 has changed the way it handles dependent types in the out-of-class implementations of method templates. Try editing stlsoft/internal/cccap/msvc.h, around line 610, and comment out the defn of STLSOFT_CF_FUNCTION_SIGNATURE_FULL_ARG_QUALIFICATION_REQUIRED. Thanks for the heads-up. I'll try and replicate as soon as I get chance. Matt "ShaChris23" <aristopac yahoo.com> wrote in message news:gganhs$k78$1 digitalmars.com...Hi, I downloaded 1.9.61, unzipped it, and just #include pod_vector.hpp to test it out, and got the following errors: 1>------ Build started: Project: BoostTest, Configuration: Debug Win32 ------ 1>Compiling... 1>main.cpp 1>c:\documents and settings\administrator\desktop\stlsoft-1.9.61\include\stlsoft\containers pod_vector.hpp(685) : error C2244:'stlsoft::pod_vector<T,A,SPACE>::size' : unable to match function definition to an existing declaration1> c:\documents and settings\administrator\desktop\stlsoft-1.9.61\include\stlsoft\containers pod_vector.hpp(206) : seedeclaration of 'stlsoft::pod_vector<T,A,SPACE>::size'1> definition 1> 'stlsoft::ss_size_t stlsoft::pod_vector<T,A,SPACE>::size(void) const' 1> existing declarations 1> 'auto_buffer_old<T,A,SPACE>::size_type stlsoft::pod_vector<T,A,SPACE>::size(void) const' 1>c:\documents and settings\administrator\desktop\stlsoft-1.9.61\include\stlsoft\containers pod_vector.hpp(700) : error C2244:'stlsoft::pod_vector<T,A,SPACE>::capacity' : unable to match function definition to an existing declaration1> c:\documents and settings\administrator\desktop\stlsoft-1.9.61\include\stlsoft\containers pod_vector.hpp(207) : seedeclaration of 'stlsoft::pod_vector<T,A,SPACE>::capacity'1> definition 1> 'stlsoft::ss_size_t stlsoft::pod_vector<T,A,SPACE>::capacity(void) const' 1> existing declarations 1> 'auto_buffer_old<T,A,SPACE>::size_type stlsoft::pod_vector<T,A,SPACE>::capacity(void) const' 1>c:\documents and settings\administrator\desktop\stlsoft-1.9.61\include\stlsoft\containers pod_vector.hpp(715) : error C2244:'stlsoft::pod_vector<T,A,SPACE>::max_size' : unable to match function definition to an existing declaration1> c:\documents and settings\administrator\desktop\stlsoft-1.9.61\include\stlsoft\containers pod_vector.hpp(208) : seedeclaration of 'stlsoft::pod_vector<T,A,SPACE>::max_size'1> definition 1> 'stlsoft::ss_size_t stlsoft::pod_vector<T,A,SPACE>::max_size(void) const' 1> existing declarations 1> 'auto_buffer_old<T,A,SPACE>::size_type stlsoft::pod_vector<T,A,SPACE>::max_size(void) const' 1>Build log was saved at "file://c:\Documents and Settings\Administrator\Desktop\BoostTest\BoostTest\Debug\BuildLog.htm" 1>BoostTest - 3 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Does anyone know if I missed something? All my code has is just the #include and int main() with nothing in the function body. My platform: MSVC 2008 SP1, WinXP x64. Thanks!
Nov 23 2008
Hi Matt, Thanks for a quick response. I tried to comment it out but the compilation error still persisted. I'm not too sure though if I did it correctly as there are actually many of the STLSOFT_CF_FUNCTION_SIGNATURE_FULL_ARG_QUALIFICATION_REQUIRED sorry..that's the best I could do. S. Matthew Wilson Wrote:Hi My first guess would be that VC++ 9 has changed the way it handles dependent types in the out-of-class implementations of method templates. Try editing stlsoft/internal/cccap/msvc.h, around line 610, and comment out the defn of STLSOFT_CF_FUNCTION_SIGNATURE_FULL_ARG_QUALIFICATION_REQUIRED. Thanks for the heads-up. I'll try and replicate as soon as I get chance. Matt "ShaChris23" <aristopac yahoo.com> wrote in message news:gganhs$k78$1 digitalmars.com...Hi, I downloaded 1.9.61, unzipped it, and just #include pod_vector.hpp to test it out, and got the following errors: 1>------ Build started: Project: BoostTest, Configuration: Debug Win32 ------ 1>Compiling... 1>main.cpp 1>c:\documents and settings\administrator\desktop\stlsoft-1.9.61\include\stlsoft\containers pod_vector.hpp(685) : error C2244:'stlsoft::pod_vector<T,A,SPACE>::size' : unable to match function definition to an existing declaration1> c:\documents and settings\administrator\desktop\stlsoft-1.9.61\include\stlsoft\containers pod_vector.hpp(206) : seedeclaration of 'stlsoft::pod_vector<T,A,SPACE>::size'1> definition 1> 'stlsoft::ss_size_t stlsoft::pod_vector<T,A,SPACE>::size(void) const' 1> existing declarations 1> 'auto_buffer_old<T,A,SPACE>::size_type stlsoft::pod_vector<T,A,SPACE>::size(void) const' 1>c:\documents and settings\administrator\desktop\stlsoft-1.9.61\include\stlsoft\containers pod_vector.hpp(700) : error C2244:'stlsoft::pod_vector<T,A,SPACE>::capacity' : unable to match function definition to an existing declaration1> c:\documents and settings\administrator\desktop\stlsoft-1.9.61\include\stlsoft\containers pod_vector.hpp(207) : seedeclaration of 'stlsoft::pod_vector<T,A,SPACE>::capacity'1> definition 1> 'stlsoft::ss_size_t stlsoft::pod_vector<T,A,SPACE>::capacity(void) const' 1> existing declarations 1> 'auto_buffer_old<T,A,SPACE>::size_type stlsoft::pod_vector<T,A,SPACE>::capacity(void) const' 1>c:\documents and settings\administrator\desktop\stlsoft-1.9.61\include\stlsoft\containers pod_vector.hpp(715) : error C2244:'stlsoft::pod_vector<T,A,SPACE>::max_size' : unable to match function definition to an existing declaration1> c:\documents and settings\administrator\desktop\stlsoft-1.9.61\include\stlsoft\containers pod_vector.hpp(208) : seedeclaration of 'stlsoft::pod_vector<T,A,SPACE>::max_size'1> definition 1> 'stlsoft::ss_size_t stlsoft::pod_vector<T,A,SPACE>::max_size(void) const' 1> existing declarations 1> 'auto_buffer_old<T,A,SPACE>::size_type stlsoft::pod_vector<T,A,SPACE>::max_size(void) const' 1>Build log was saved at "file://c:\Documents and Settings\Administrator\Desktop\BoostTest\BoostTest\Debug\BuildLog.htm" 1>BoostTest - 3 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Does anyone know if I missed something? All my code has is just the #include and int main() with nothing in the function body. My platform: MSVC 2008 SP1, WinXP x64. Thanks!
Nov 26 2008
I'll take a look this w/e. I should be able to fix it. Matt "ShaChris23" <aristopac yahoo.com> wrote in message news:ggksn6$1h31$1 digitalmars.com...Hi Matt, Thanks for a quick response. I tried to comment it out but the compilation error still persisted. I'm not too sure though if I didit correctly as there are actually many of theSTLSOFT_CF_FUNCTION_SIGNATURE_FULL_ARG_QUALIFICATION_REQUIRED sorry..that's the best I could do. S. Matthew Wilson Wrote:Hi My first guess would be that VC++ 9 has changed the way it handles dependent types in the out-of-class implementations of method templates. Try editing stlsoft/internal/cccap/msvc.h, around line 610, and comment out the defn of STLSOFT_CF_FUNCTION_SIGNATURE_FULL_ARG_QUALIFICATION_REQUIRED. Thanks for the heads-up. I'll try and replicate as soon as I get chance. Matt "ShaChris23" <aristopac yahoo.com> wrote in message news:gganhs$k78$1 digitalmars.com...Hi, I downloaded 1.9.61, unzipped it, and just #include pod_vector.hpp to test it out, and got the following errors: 1>------ Build started: Project: BoostTest, Configuration: Debug Win32 ------ 1>Compiling... 1>main.cpp 1>c:\documents and settings\administrator\desktop\stlsoft-1.9.61\include\stlsoft\containers pod_vector.hpp(685) : error C2244:'stlsoft::pod_vector<T,A,SPACE>::size' : unable to match function definition to an existing declaration1> c:\documents and settings\administrator\desktop\stlsoft-1.9.61\include\stlsoft\containers pod_vector.hpp(206) : seedeclaration of 'stlsoft::pod_vector<T,A,SPACE>::size'1> definition 1> 'stlsoft::ss_size_t stlsoft::pod_vector<T,A,SPACE>::size(void) const' 1> existing declarations 1> 'auto_buffer_old<T,A,SPACE>::size_type stlsoft::pod_vector<T,A,SPACE>::size(void) const' 1>c:\documents and settings\administrator\desktop\stlsoft-1.9.61\include\stlsoft\containers pod_vector.hpp(700) : error C2244:'stlsoft::pod_vector<T,A,SPACE>::capacity' : unable to match function definition to an existing declaration1> c:\documents and settings\administrator\desktop\stlsoft-1.9.61\include\stlsoft\containers pod_vector.hpp(207) : seedeclaration of 'stlsoft::pod_vector<T,A,SPACE>::capacity'1> definition 1> 'stlsoft::ss_size_t stlsoft::pod_vector<T,A,SPACE>::capacity(void) const' 1> existing declarations 1> 'auto_buffer_old<T,A,SPACE>::size_type stlsoft::pod_vector<T,A,SPACE>::capacity(void) const' 1>c:\documents and settings\administrator\desktop\stlsoft-1.9.61\include\stlsoft\containers pod_vector.hpp(715) : error C2244:'stlsoft::pod_vector<T,A,SPACE>::max_size' : unable to match function definition to an existing declaration1> c:\documents and settings\administrator\desktop\stlsoft-1.9.61\include\stlsoft\containers pod_vector.hpp(208) : seedeclaration of 'stlsoft::pod_vector<T,A,SPACE>::max_size'1> definition 1> 'stlsoft::ss_size_t stlsoft::pod_vector<T,A,SPACE>::max_size(void) const' 1> existing declarations 1> 'auto_buffer_old<T,A,SPACE>::size_type stlsoft::pod_vector<T,A,SPACE>::max_size(void) const' 1>Build log was saved at "file://c:\Documents and Settings\Administrator\Desktop\BoostTest\BoostTest\Debug\BuildLog.htm" 1>BoostTest - 3 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Does anyone know if I missed something? All my code has is just the #include and int main() with nothing in the function body. My platform: MSVC 2008 SP1, WinXP x64. Thanks!
Nov 27 2008
Fixed it. Will be releasing STLSoft 1.9.62 in a few hours Cheers Matt "Matthew Wilson" <matthew hat.stlsoft.dot.org> wrote in message news:ggmob6$1tan$1 digitalmars.com...I'll take a look this w/e. I should be able to fix it. Matt "ShaChris23" <aristopac yahoo.com> wrote in message news:ggksn6$1h31$1 digitalmars.com...didHi Matt, Thanks for a quick response. I tried to comment it out but the compilation error still persisted. I'm not too sure though if Iit correctly as there are actually many of themethodSTLSOFT_CF_FUNCTION_SIGNATURE_FULL_ARG_QUALIFICATION_REQUIRED sorry..that's the best I could do. S. Matthew Wilson Wrote:Hi My first guess would be that VC++ 9 has changed the way it handles dependent types in the out-of-class implementations ofC2244:templates. Try editing stlsoft/internal/cccap/msvc.h, around line 610, and comment out the defn of STLSOFT_CF_FUNCTION_SIGNATURE_FULL_ARG_QUALIFICATION_REQUIRED. Thanks for the heads-up. I'll try and replicate as soon as I get chance. Matt "ShaChris23" <aristopac yahoo.com> wrote in message news:gganhs$k78$1 digitalmars.com...Hi, I downloaded 1.9.61, unzipped it, and just #include pod_vector.hpp to test it out, and got the following errors: 1>------ Build started: Project: BoostTest, Configuration: Debug Win32 ------ 1>Compiling... 1>main.cpp 1>c:\documents and settings\administrator\desktop\stlsoft-1.9.61\include\stlsoft\containers pod_vector.hpp(685) : errorsee'stlsoft::pod_vector<T,A,SPACE>::size' : unable to match function definition to an existing declaration1> c:\documents and settings\administrator\desktop\stlsoft-1.9.61\include\stlsoft\containers pod_vector.hpp(206) :C2244:declaration of 'stlsoft::pod_vector<T,A,SPACE>::size'1> definition 1> 'stlsoft::ss_size_t stlsoft::pod_vector<T,A,SPACE>::size(void) const' 1> existing declarations 1> 'auto_buffer_old<T,A,SPACE>::size_type stlsoft::pod_vector<T,A,SPACE>::size(void) const' 1>c:\documents and settings\administrator\desktop\stlsoft-1.9.61\include\stlsoft\containers pod_vector.hpp(700) : errorsee'stlsoft::pod_vector<T,A,SPACE>::capacity' : unable to match function definition to an existing declaration1> c:\documents and settings\administrator\desktop\stlsoft-1.9.61\include\stlsoft\containers pod_vector.hpp(207) :C2244:declaration of 'stlsoft::pod_vector<T,A,SPACE>::capacity'1> definition 1> 'stlsoft::ss_size_t stlsoft::pod_vector<T,A,SPACE>::capacity(void) const' 1> existing declarations 1> 'auto_buffer_old<T,A,SPACE>::size_type stlsoft::pod_vector<T,A,SPACE>::capacity(void) const' 1>c:\documents and settings\administrator\desktop\stlsoft-1.9.61\include\stlsoft\containers pod_vector.hpp(715) : errorsee'stlsoft::pod_vector<T,A,SPACE>::max_size' : unable to match function definition to an existing declaration1> c:\documents and settings\administrator\desktop\stlsoft-1.9.61\include\stlsoft\containers pod_vector.hpp(208) :body.declaration of 'stlsoft::pod_vector<T,A,SPACE>::max_size'1> definition 1> 'stlsoft::ss_size_t stlsoft::pod_vector<T,A,SPACE>::max_size(void) const' 1> existing declarations 1> 'auto_buffer_old<T,A,SPACE>::size_type stlsoft::pod_vector<T,A,SPACE>::max_size(void) const' 1>Build log was saved at "file://c:\Documents and Settings\Administrator\Desktop\BoostTest\BoostTest\Debug\BuildLog.htm" 1>BoostTest - 3 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Does anyone know if I missed something? All my code has is just the #include and int main() with nothing in the functionMy platform: MSVC 2008 SP1, WinXP x64. Thanks!
Nov 30 2008