www.digitalmars.com         C & C++   DMDScript  

c++.stlsoft - pod_vector MSVC2008 SP1 compile error

reply ShaChris23 <aristopac yahoo.com> writes:
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
parent reply "Matthew Wilson" <matthew hat.stlsoft.dot.org> writes:
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 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 23 2008
parent reply ShaChris23 <aristopac yahoo.com> writes:
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 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 26 2008
parent reply "Matthew Wilson" <matthew hat.stlsoft.dot.org> writes:
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 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 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 27 2008
parent "Matthew Wilson" <matthew hat.stlsoft.dot.org> writes:
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...
 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 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 30 2008