www.digitalmars.com         C & C++   DMDScript  

c++.stlsoft - winstl::findfile_sequence does not compile with Visual Studio 2005

reply Gabor.Fischer systecs.com (Gabor Fischer) writes:
Hi!


Has somenone used winstl::findfile_sequence with Microsoft Visual Studio  
2005? This simple program


#include "stdafx.h"
#include "winstl/filesystem/findfile_sequence.hpp"


int _tmain(int argc, _TCHAR* argv[])
{
    return 0;
}


leads to several compile errors:

1>------ Build started: Project: FindfileSequenceTest, Configuration:  
Debug Win32 ------
1>Compiling...
1>stdafx.cpp
1>FindfileSequenceTest.cpp
1>d:\libraries\stlsoft\1.9.1- 
beta44\include\winstl\filesystem\findfile_sequence.hpp(1147) : error  
C2244:  
'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::length'  
: unable to match function definition to an existing declaration
1>        d:\libraries\stlsoft\1.9.1- 
beta44\include\winstl\filesystem\findfile_sequence.hpp(443) : see  
declaration of  
'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::length'
1>        definition
1>        'stlsoft::ss_size_t  
stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::length(v 
oid) const'
1>        existing declarations
1>        'basic_findfile_sequence<C,T>::size_type  
stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::length(v 
oid) const'
1>d:\libraries\stlsoft\1.9.1- 
beta44\include\winstl\filesystem\findfile_sequence.hpp(1169) : error  
C2244:  
'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_dire 
ctory' : unable to match function definition to an existing declaration
1>        d:\libraries\stlsoft\1.9.1- 
beta44\include\winstl\filesystem\findfile_sequence.hpp(455) : see  
declaration of  
'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_dire 
ctory'
1>        definition
1>        'stlsoft::winstl_project::ws_bool_t  
stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_direc 
tory(void) const'
1>        existing declarations
1>        'basic_findfile_sequence<C,T>::bool_type  
stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_direc 
tory(void) const'
1>d:\libraries\stlsoft\1.9.1- 
beta44\include\winstl\filesystem\findfile_sequence.hpp(1179) : error  
C2244:  
'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_file 
' : unable to match function definition to an existing declaration
1>        d:\libraries\stlsoft\1.9.1- 
beta44\include\winstl\filesystem\findfile_sequence.hpp(457) : see  
declaration of  
'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_file 
'
1>        definition
1>        'stlsoft::winstl_project::ws_bool_t  
stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_file( 
void) const'
1>        existing declarations
1>        'basic_findfile_sequence<C,T>::bool_type  
stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_file( 
void) const'
1>d:\libraries\stlsoft\1.9.1- 
beta44\include\winstl\filesystem\findfile_sequence.hpp(1188) : error  
C2244:  
'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_comp 
ressed' : unable to match function definition to an existing declaration
1>        d:\libraries\stlsoft\1.9.1- 
beta44\include\winstl\filesystem\findfile_sequence.hpp(459) : see  
declaration of  
'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_comp 
ressed'
1>        definition
1>        'stlsoft::winstl_project::ws_bool_t  
stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_compr 
essed(void) const'
1>        existing declarations
1>        'basic_findfile_sequence<C,T>::bool_type  
stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_compr 
essed(void) const'
1>d:\libraries\stlsoft\1.9.1- 
beta44\include\winstl\filesystem\findfile_sequence.hpp(1198) : error  
C2244:  
'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_repa 
rse_point' : unable to match function definition to an existing  
declaration
1>        d:\libraries\stlsoft\1.9.1- 
beta44\include\winstl\filesystem\findfile_sequence.hpp(462) : see  
declaration of  
'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_repa 
rse_point'
1>        definition
1>        'stlsoft::winstl_project::ws_bool_t  
stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_repar 
se_point(void) const'
1>        existing declarations
1>        'basic_findfile_sequence<C,T>::bool_type  
stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_repar 
se_point(void) const'
1>d:\libraries\stlsoft\1.9.1- 
beta44\include\winstl\filesystem\findfile_sequence.hpp(1208) : error  
C2244:  
'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_read 
_only' : unable to match function definition to an existing declaration
1>        d:\libraries\stlsoft\1.9.1- 
beta44\include\winstl\filesystem\findfile_sequence.hpp(465) : see  
declaration of  
'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_read 
_only'
1>        definition
1>        'stlsoft::winstl_project::ws_bool_t  
stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_read_ 
only(void) const'
1>        existing declarations
1>        'basic_findfile_sequence<C,T>::bool_type  
stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_read_ 
only(void) const'
1>d:\libraries\stlsoft\1.9.1- 
beta44\include\winstl\filesystem\findfile_sequence.hpp(1217) : error  
C2244:  
'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_syst 
em' : unable to match function definition to an existing declaration
1>        d:\libraries\stlsoft\1.9.1- 
beta44\include\winstl\filesystem\findfile_sequence.hpp(467) : see  
declaration of  
'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_syst 
em'
1>        definition
1>        'stlsoft::winstl_project::ws_bool_t  
stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_syste 
m(void) const'
1>        existing declarations
1>        'basic_findfile_sequence<C,T>::bool_type  
stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_syste 
m(void) const'
1>d:\libraries\stlsoft\1.9.1- 
beta44\include\winstl\filesystem\findfile_sequence.hpp(1226) : error  
C2244:  
'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_hidd 
en' : unable to match function definition to an existing declaration
1>        d:\libraries\stlsoft\1.9.1- 
beta44\include\winstl\filesystem\findfile_sequence.hpp(469) : see  
declaration of  
'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_hidd 
en'
1>        definition
1>        'stlsoft::winstl_project::ws_bool_t  
stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_hidde 
n(void) const'
1>        existing declarations
1>        'basic_findfile_sequence<C,T>::bool_type  
stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_hidde 
n(void) const'
1>d:\libraries\stlsoft\1.9.1- 
beta44\include\winstl\filesystem\findfile_sequence.hpp(1236) : error  
C2244:  
'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::equal'  
: unable to match function definition to an existing declaration
1>        definition
1>        'stlsoft::winstl_project::ws_bool_t  
stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::equal(co 
nst C *) const'
1>        existing declarations
1>        'basic_findfile_sequence<C,T>::bool_type  
stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::equal(co 
nst stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T> &)  
const'
1>        'basic_findfile_sequence<C,T>::bool_type  
stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::equal(co 
nst C *) const'
1>d:\libraries\stlsoft\1.9.1- 
beta44\include\winstl\filesystem\findfile_sequence.hpp(1246) : error  
C2244:  
'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::equal'  
: unable to match function definition to an existing declaration
1>        definition
1>        'stlsoft::winstl_project::ws_bool_t  
stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::equal(co 
nst stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T> &)  
const'
1>        existing declarations
1>        'basic_findfile_sequence<C,T>::bool_type  
stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::equal(co 
nst stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T> &)  
const'
1>        'basic_findfile_sequence<C,T>::bool_type  
stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::equal(co 
nst C *) const'
1>d:\libraries\stlsoft\1.9.1- 
beta44\include\winstl\filesystem\findfile_sequence.hpp(1695) : error  
C2244:  
'stlsoft::winstl_project::basic_findfile_sequence_const_input_iterator<C,T 
,V>::equal' : unable to match function definition to an existing  
declaration
1>        d:\libraries\stlsoft\1.9.1- 
beta44\include\winstl\filesystem\findfile_sequence.hpp(639) : see  
declaration of  
'stlsoft::winstl_project::basic_findfile_sequence_const_input_iterator<C,T 
,V>::equal'
1>        definition
1>        'stlsoft::winstl_project::ws_bool_t  
stlsoft::winstl_project::basic_findfile_sequence_const_input_iterator<C,T, 
V>::equal(const  
stlsoft::winstl_project::basic_findfile_sequence_const_input_iterator<C,T, 
V> &) const'
1>        existing declarations
1>        'basic_findfile_sequence<C,T>::bool_type  
stlsoft::winstl_project::basic_findfile_sequence_const_input_iterator<C,T, 
V>::equal(const  
stlsoft::winstl_project::basic_findfile_sequence_const_input_iterator<C,T, 
V> &) const'
1>Generating Code...
1>Build log was saved at "file:// 
d:\Projects\Local\FindfileSequenceTest\FindfileSequenceTest\Debug\BuildLog 
.htm"
1>FindfileSequenceTest - 11 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped  
==========


So Long...

Gabor
Mar 08 2007
next sibling parent reply Gabor.Fischer systecs.com (Gabor Fischer) writes:
Hi!

For your convenience, I attach my test project.
Mar 08 2007
parent reply Stefan <tailsu abv.bg> writes:
you need to #define STLSOFT_CF_FUNCTION_SIGNATURE_FULL_ARG_QUALIFICATION_REQUIRED
before including findfile_sequence.hpp

this seems to be a bug on the stlsoft side - it doesn't define the compiler
capabilities properly.

in stlsoft/internap/cccap/msvc.hpp

#if _MSC_VER >= 1100 && \
    _MSC_VER < 1310
# define STLSOFT_CF_FUNCTION_SIGNATURE_FULL_ARG_QUALIFICATION_REQUIRED
#endif /* _MSC_VER */

the obviously don't support 2005.. yet
Mar 21 2007
parent "Matthew Wilson" <matthew hat.stlsoft.dot.org> writes:
Thanks, Stefan

Hopefully the changes I've recently made will make the whole business of
STLSOFT_CF_FUNCTION_SIGNATURE_FULL_ARG_QUALIFICATION_REQUIRED irrelevant.
:-)

Cheers

Matthew


"Stefan" <tailsu abv.bg> wrote in message
news:etreg9$la1$1 digitalmars.com...
 you need to #define

 before including findfile_sequence.hpp

 this seems to be a bug on the stlsoft side - it doesn't define the

 capabilities properly.

 in stlsoft/internap/cccap/msvc.hpp

 #if _MSC_VER >= 1100 && \
     _MSC_VER < 1310
 # define STLSOFT_CF_FUNCTION_SIGNATURE_FULL_ARG_QUALIFICATION_REQUIRED
 #endif /* _MSC_VER */

 the obviously don't support 2005.. yet

Mar 21 2007
prev sibling next sibling parent reply "Matthew Wilson" <matthew hat.stlsoft.dot.org> writes:
Try this

If there're no problems, this'll be in beta 45, which should be out real
soon. (And, yes, I am aware how nuts it is to have a beta 45. Should be the
real thing before too much longer ...)

"Gabor Fischer" <Gabor.Fischer systecs.com> wrote in message
news:ACSV8PpKQNB systecs.com...
 Hi!


 Has somenone used winstl::findfile_sequence with Microsoft Visual Studio
 2005? This simple program


 #include "stdafx.h"
 #include "winstl/filesystem/findfile_sequence.hpp"


 int _tmain(int argc, _TCHAR* argv[])
 {
     return 0;
 }


 leads to several compile errors:

 1>------ Build started: Project: FindfileSequenceTest, Configuration:
 Debug Win32 ------
 1>Compiling...
 1>stdafx.cpp
 1>FindfileSequenceTest.cpp
 1>d:\libraries\stlsoft\1.9.1-
 beta44\include\winstl\filesystem\findfile_sequence.hpp(1147) : error
 C2244:
 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::length'
 : unable to match function definition to an existing declaration
 1>        d:\libraries\stlsoft\1.9.1-
 beta44\include\winstl\filesystem\findfile_sequence.hpp(443) : see
 declaration of
 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::length'
 1>        definition
 1>        'stlsoft::ss_size_t
 stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::length(v
 oid) const'
 1>        existing declarations
 1>        'basic_findfile_sequence<C,T>::size_type
 stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::length(v
 oid) const'
 1>d:\libraries\stlsoft\1.9.1-
 beta44\include\winstl\filesystem\findfile_sequence.hpp(1169) : error
 C2244:
 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_dire
 ctory' : unable to match function definition to an existing declaration
 1>        d:\libraries\stlsoft\1.9.1-
 beta44\include\winstl\filesystem\findfile_sequence.hpp(455) : see
 declaration of
 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_dire

 ctory'
 1>        definition
 1>        'stlsoft::winstl_project::ws_bool_t
 stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_direc
 tory(void) const'
 1>        existing declarations
 1>        'basic_findfile_sequence<C,T>::bool_type
 stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_direc
 tory(void) const'
 1>d:\libraries\stlsoft\1.9.1-
 beta44\include\winstl\filesystem\findfile_sequence.hpp(1179) : error
 C2244:
 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_file
 ' : unable to match function definition to an existing declaration
 1>        d:\libraries\stlsoft\1.9.1-
 beta44\include\winstl\filesystem\findfile_sequence.hpp(457) : see
 declaration of
 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_file
 '
 1>        definition
 1>        'stlsoft::winstl_project::ws_bool_t
 stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_file(
 void) const'
 1>        existing declarations
 1>        'basic_findfile_sequence<C,T>::bool_type
 stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_file(
 void) const'
 1>d:\libraries\stlsoft\1.9.1-
 beta44\include\winstl\filesystem\findfile_sequence.hpp(1188) : error
 C2244:
 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_comp
 ressed' : unable to match function definition to an existing declaration
 1>        d:\libraries\stlsoft\1.9.1-
 beta44\include\winstl\filesystem\findfile_sequence.hpp(459) : see
 declaration of
 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_comp
 ressed'
 1>        definition
 1>        'stlsoft::winstl_project::ws_bool_t
 stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_compr
 essed(void) const'
 1>        existing declarations
 1>        'basic_findfile_sequence<C,T>::bool_type
 stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_compr
 essed(void) const'
 1>d:\libraries\stlsoft\1.9.1-
 beta44\include\winstl\filesystem\findfile_sequence.hpp(1198) : error
 C2244:
 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_repa
 rse_point' : unable to match function definition to an existing
 declaration
 1>        d:\libraries\stlsoft\1.9.1-
 beta44\include\winstl\filesystem\findfile_sequence.hpp(462) : see
 declaration of
 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_repa
 rse_point'
 1>        definition
 1>        'stlsoft::winstl_project::ws_bool_t
 stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_repar
 se_point(void) const'
 1>        existing declarations
 1>        'basic_findfile_sequence<C,T>::bool_type
 stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_repar
 se_point(void) const'
 1>d:\libraries\stlsoft\1.9.1-
 beta44\include\winstl\filesystem\findfile_sequence.hpp(1208) : error
 C2244:
 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_read
 _only' : unable to match function definition to an existing declaration
 1>        d:\libraries\stlsoft\1.9.1-
 beta44\include\winstl\filesystem\findfile_sequence.hpp(465) : see
 declaration of
 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_read
 _only'
 1>        definition
 1>        'stlsoft::winstl_project::ws_bool_t
 stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_read_
 only(void) const'
 1>        existing declarations
 1>        'basic_findfile_sequence<C,T>::bool_type
 stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_read_
 only(void) const'
 1>d:\libraries\stlsoft\1.9.1-
 beta44\include\winstl\filesystem\findfile_sequence.hpp(1217) : error
 C2244:
 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_syst
 em' : unable to match function definition to an existing declaration
 1>        d:\libraries\stlsoft\1.9.1-
 beta44\include\winstl\filesystem\findfile_sequence.hpp(467) : see
 declaration of
 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_syst
 em'
 1>        definition
 1>        'stlsoft::winstl_project::ws_bool_t
 stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_syste
 m(void) const'
 1>        existing declarations
 1>        'basic_findfile_sequence<C,T>::bool_type
 stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_syste
 m(void) const'
 1>d:\libraries\stlsoft\1.9.1-
 beta44\include\winstl\filesystem\findfile_sequence.hpp(1226) : error
 C2244:
 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_hidd
 en' : unable to match function definition to an existing declaration
 1>        d:\libraries\stlsoft\1.9.1-
 beta44\include\winstl\filesystem\findfile_sequence.hpp(469) : see
 declaration of
 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_hidd
 en'
 1>        definition
 1>        'stlsoft::winstl_project::ws_bool_t
 stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_hidde
 n(void) const'
 1>        existing declarations
 1>        'basic_findfile_sequence<C,T>::bool_type
 stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_hidde
 n(void) const'
 1>d:\libraries\stlsoft\1.9.1-
 beta44\include\winstl\filesystem\findfile_sequence.hpp(1236) : error
 C2244:
 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::equal'
 : unable to match function definition to an existing declaration
 1>        definition
 1>        'stlsoft::winstl_project::ws_bool_t
 stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::equal(co
 nst C *) const'
 1>        existing declarations
 1>        'basic_findfile_sequence<C,T>::bool_type
 stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::equal(co
 nst stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T> &)
 const'
 1>        'basic_findfile_sequence<C,T>::bool_type
 stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::equal(co
 nst C *) const'
 1>d:\libraries\stlsoft\1.9.1-
 beta44\include\winstl\filesystem\findfile_sequence.hpp(1246) : error
 C2244:
 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::equal'
 : unable to match function definition to an existing declaration
 1>        definition
 1>        'stlsoft::winstl_project::ws_bool_t
 stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::equal(co
 nst stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T> &)
 const'
 1>        existing declarations
 1>        'basic_findfile_sequence<C,T>::bool_type
 stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::equal(co
 nst stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T> &)
 const'
 1>        'basic_findfile_sequence<C,T>::bool_type
 stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::equal(co
 nst C *) const'
 1>d:\libraries\stlsoft\1.9.1-
 beta44\include\winstl\filesystem\findfile_sequence.hpp(1695) : error
 C2244:
 'stlsoft::winstl_project::basic_findfile_sequence_const_input_iterator<C,T
 ,V>::equal' : unable to match function definition to an existing
 declaration
 1>        d:\libraries\stlsoft\1.9.1-
 beta44\include\winstl\filesystem\findfile_sequence.hpp(639) : see
 declaration of
 'stlsoft::winstl_project::basic_findfile_sequence_const_input_iterator<C,T
 ,V>::equal'
 1>        definition
 1>        'stlsoft::winstl_project::ws_bool_t
 stlsoft::winstl_project::basic_findfile_sequence_const_input_iterator<C,T,
 V>::equal(const
 stlsoft::winstl_project::basic_findfile_sequence_const_input_iterator<C,T,
 V> &) const'
 1>        existing declarations
 1>        'basic_findfile_sequence<C,T>::bool_type
 stlsoft::winstl_project::basic_findfile_sequence_const_input_iterator<C,T,
 V>::equal(const
 stlsoft::winstl_project::basic_findfile_sequence_const_input_iterator<C,T,
 V> &) const'
 1>Generating Code...
 1>Build log was saved at "file://
 d:\Projects\Local\FindfileSequenceTest\FindfileSequenceTest\Debug\BuildLog
 .htm"
 1>FindfileSequenceTest - 11 error(s), 0 warning(s)
 ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
 ==========


 So Long...

 Gabor

Mar 08 2007
parent Gabor.Fischer systecs.com (Gabor Fischer) writes:
Hello Matthew!

 Try this

 If there're no problems, this'll be in beta 45, which should be out real
 soon.

Thanks. This fixes the problem with winstl::reg_key and winstl::reg_value. The problem with winstl::findfile_sequence still remains. So Long... Gabor
Mar 09 2007
prev sibling parent reply Matthew Wilson <no-one no-where.com> writes:
Gabor Fischer Wrote:

 Hi!
 
 
 Has somenone used winstl::findfile_sequence with Microsoft Visual Studio  
 2005? This simple program
 
 
 #include "stdafx.h"
 #include "winstl/filesystem/findfile_sequence.hpp"
 
 
 int _tmain(int argc, _TCHAR* argv[])
 {
     return 0;
 }
 
 
 leads to several compile errors:
 
 1>------ Build started: Project: FindfileSequenceTest, Configuration:  
 Debug Win32 ------
 1>Compiling...
 1>stdafx.cpp
 1>FindfileSequenceTest.cpp
 1>d:\libraries\stlsoft\1.9.1- 
 beta44\include\winstl\filesystem\findfile_sequence.hpp(1147) : error  
 C2244:  
 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::length'  
 : unable to match function definition to an existing declaration
 1>        d:\libraries\stlsoft\1.9.1- 
 beta44\include\winstl\filesystem\findfile_sequence.hpp(443) : see  
 declaration of  

<snip>
 1>FindfileSequenceTest - 11 error(s), 0 warning(s)
 ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped  
 ==========
 
 
 So Long...
 
 Gabor
 

I can't replicate this. It all just works for me. (I did, of course, #define _CRT_SECURE_NO_DEPRECATE to get rid of all the stupid warnings about all the _s blather.)
Mar 10 2007
next sibling parent reply Gabor.Fischer systecs.com (Gabor Fischer) writes:
Hello!

 1>FindfileSequenceTest - 11 error(s), 0 warning(s)
 ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
 ==========


 So Long...

 Gabor


 I can't replicate this. It all just works for me.

That is strange.
 (I did, of course, #define _CRT_SECURE_NO_DEPRECATE to get rid of all the
 stupid warnings about all the _s blather.)

So did I. As you can see above, I got no warnings, just errors. Did you try it with the test project I posted? So Long... Gabor So Long... Gabor
Mar 12 2007
next sibling parent reply Matthew Wilson <no-one nowhere.no.com> writes:
I've just done it again. Here's *exactly* what I did:

1. unzipped your FindfileSequenceTest zip to
H:\3Pty\STLSoft\FindfileSequenceTest

2. unzipped the latest STLSoft distro to H:\3Pty\STLSoft\stlsoft-1.9.1.beta46

3. Modified the FindfileSequenceTest include settings to use
H:\3Pty\STLSoft\stlsoft-1.9.1.beta46\include, instead of your
$(STLSOFT)\1.9.1-beta44\include

4. Did a rebuild all

This is what I get:

------ Rebuild All started: Project: FindfileSequenceTest, Configuration: Debug
Win32 ------
Deleting intermediate and output files for project 'FindfileSequenceTest',
configuration 'Debug|Win32'
Compiling...
FindfileSequenceTest.cpp
h:\3pty\stlsoft\stlsoft-1.9.1.beta46\include\winstl\system\sy
tem_traits.hpp(292) : warning C4996: 'strncpy' was declared deprecated
        p:\program files\microsoft visual studio 8\vc\include\string.h(156) :
see declaration of 'strncpy'
        Message: 'This function or variable may be unsafe. Consider using
strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See
online help for details.'
h:\3pty\stlsoft\stlsoft-1.9.1.beta46\include\winstl\system\sy
tem_traits.hpp(302) : warning C4996: 'strncat' was declared deprecated
        p:\program files\microsoft visual studio 8\vc\include\string.h(143) :
see declaration of 'strncat'
        Message: 'This function or variable may be unsafe. Consider using
strncat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See
online help for details.'
h:\3pty\stlsoft\stlsoft-1.9.1.beta46\include\winstl\system\sy
tem_traits.hpp(472) : warning C4996: 'wcsncpy' was declared deprecated
        p:\program files\microsoft visual studio 8\vc\include\wchar.h(1012) :
see declaration of 'wcsncpy'
        Message: 'This function or variable may be unsafe. Consider using
wcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See
online help for details.'
h:\3pty\stlsoft\stlsoft-1.9.1.beta46\include\winstl\system\sy
tem_traits.hpp(482) : warning C4996: 'wcsncat' was declared deprecated
        p:\program files\microsoft visual studio 8\vc\include\wchar.h(1006) :
see declaration of 'wcsncat'
        Message: 'This function or variable may be unsafe. Consider using
wcsncat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See
online help for details.'
stdafx.cpp
Generating Code...
Compiling manifest to resources...
Linking...
Embedding manifest...
Build log was saved at
"file://h:\3Pty\STLSoft\FindfileSequenceTest\Debug\BuildLog.htm"
FindfileSequenceTest - 0 error(s), 4 warning(s)
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========


Clearly, it compiles for me. Two things are strange, however:

1. It compiles FindfileSequenceTest.cpp before stdafx.cpp

2. It does not suppress the CRT safe stuff (which you'd indicated that you'd
done).

I really have *no* clue why your setup does not work.

Can you try opening a VC++2005 command prompt, and compiling
FindfileSequenceTest.cpp on its own, with a command-line similar to the
following:

"H:\3Pty\STLSoft\FindfileSequenceTest>cl -nologo -EHsc -c
-IH:\3Pty\STLSoft\stlsoft-1.9.1.beta46\include -D_CRT_SECURE_NO_DEPRECATE
FindfileSequenceTest.cpp
FindfileSequenceTest.cpp

H:\3Pty\STLSoft\FindfileSequenceTest>"

Let me know how it goes...

HTH

Matthew
Mar 12 2007
next sibling parent reply Matthew Wilson <no-one nowhere.no.com> writes:
Ok, I think I've figured out what's going on.

My version of VC++ 8 is 14.00.50727.42 (it's the free one).

Clearly, the two versions are different in how they handle the specific form of
construct that is used in winstl::basic_findfile_sequence (and many other
STLSoft components), whereby the method definition is outside the class.

Consider the class:

template <typename C, typename T>
class basic_findfile_sequence
{
public:
  typedef size_t   size_type;

public:
    size_type length() const;
};

Now the implementation. It can either be:

template <typename C, typename T>
size_t basic_findfile_sequence<C, T>::length() const
{
  . . .
}

or:

template <typename C, typename T>
typename basic_findfile_sequence<C, T>::size_type basic_findfile_sequence<C,
T>::length() const
{
  . . .
}

Some compilers like the first way; others the second. I handle this as follows:

template <typename C, typename T>
#ifdef STLSOFT_CF_FUNCTION_SIGNATURE_FULL_ARG_QUALIFICATION_REQUIRED
typename basic_findfile_sequence<C, T>::size_type basic_findfile_sequence<C,
T>::length() const
#else /* ? STLSOFT_CF_FUNCTION_SIGNATURE_FULL_ARG_QUALIFICATION_REQUIRED */
size_t basic_findfile_sequence<C, T>::length() const
#endif /* STLSOFT_CF_FUNCTION_SIGNATURE_FULL_ARG_QUALIFICATION_REQUIRED */
{
  . . .
}


The defn (or not) of this for VC++ is in stlsoft/internal/cccap/msvc.h, as
follows:

#if _MSC_VER >= 1100 && \
    _MSC_VER < 1310
# define STLSOFT_CF_FUNCTION_SIGNATURE_FULL_ARG_QUALIFICATION_REQUIRED
#endif /* _MSC_VER */

This works for all the following versions of the compiler:
	4.2
	5.0
	6.0
	7.0
	7.1
	8.0 (14.00.50727.42)

Now, I strongly suspect that VC++8 (14.00.50727.762) behaves like VC++ 5, 6 and
7.0 in this respect. Consequently, I strongly suspect that you would achieve
compilation if you changed the requisite lines in msvc.h to the following:

#if (   _MSC_VER >= 1100 && \
        _MSC_VER < 1310) || \
    _MSC_VER == 1400
# define STLSOFT_CF_FUNCTION_SIGNATURE_FULL_ARG_QUALIFICATION_REQUIRED
#endif /* _MSC_VER */

However, while that's good for you, it's not good for me, or for anyone else
who is using VC++ 8 (14.00.50727.42).

So, I think I shall have to get rid of
STLSOFT_CF_FUNCTION_SIGNATURE_FULL_ARG_QUALIFICATION_REQUIRED and the way it
works, and find a compiler-independent implementation.

<digress>
 This is part of a general issue regarding the relativity of typedefs, known
(in Imperfect C++, anyway <g>) as contextual typedefs. In other words,
size_type is the "size type" of basic_findfile_sequence, and it seems
appropriate to define the size-related methods' return type and parameters in
relative terms. But it's also the case that size_type should be the same for
all STL-related types. Further, size_t is the degenerate size-related type for
all C/C++ programming.

 It's not a black-and-white issue, and one I'm still wrestling after many years
of faffing around with contextual typedefs. ;=/
</digress>
Mar 12 2007
parent reply Matthew Wilson <no-one nowhere.no.com> writes:
Can you do me a favour, and try each of the following (separately) with the
original msvc.h file, and with the modified one, and send me the full set of
compilation errors/warnings?

Thanks

inetstl\filesystem\findfile_sequence.hpp
stlsoft\containers\pod_vector.hpp
winstl\filesystem\findfile_sequence.hpp
winstl\filesystem\findvolume_sequence.hpp
Mar 12 2007
parent "Matthew Wilson" <matthew hat.stlsoft.dot.org> writes:
Try this:
http://synesis.com.au/downloads/stlsoft/stlsoft-1.9.1-beta46-VC8.14.00.50727.762.patch.zip

The mods assume the original msvc.h, but try both if you've time and
inclination. ;-)

"Matthew Wilson" <no-one nowhere.no.com> wrote in message
news:et565d$a4o$1 digitalmars.com...
 Can you do me a favour, and try each of the following (separately) with

set of compilation errors/warnings?
 Thanks

 inetstl\filesystem\findfile_sequence.hpp
 stlsoft\containers\pod_vector.hpp
 winstl\filesystem\findfile_sequence.hpp
 winstl\filesystem\findvolume_sequence.hpp

Mar 12 2007
prev sibling parent reply Gabor.Fischer systecs.com (Gabor Fischer) writes:
Hello!

 Can you do me a favour, and try each of the following (separately) with the
 original msvc.h file, and with the modified one, and send me the full set of
 compilation errors/warnings?

With the original header:
 inetstl\filesystem\findfile_sequence.hpp

------ Build started: Project: FindfileSequenceTest, Configuration: Debug Win32 ------ Compiling... FindfileSequenceTest.cpp d:\libraries\stlsoft\1.9.1- beta46\include\inetstl\filesystem\findfile_sequence.hpp(1101) : error C2244: 'stlsoft::inetstl_project::basic_findfile_sequence_value_type<C,T,X>::is_d irectory' : unable to match function definition to an existing declaration d:\libraries\stlsoft\1.9.1- beta46\include\inetstl\filesystem\findfile_sequence.hpp(459) : see declaration of 'stlsoft::inetstl_project::basic_findfile_sequence_value_type<C,T,X>::is_d irectory' definition 'stlsoft::inetstl_project::is_bool_t stlsoft::inetstl_project::basic_findfile_sequence_value_type<C,T,X>::is_di rectory(void) const' existing declarations 'basic_findfile_sequence<C,T,X>::bool_type stlsoft::inetstl_project::basic_findfile_sequence_value_type<C,T,X>::is_di rectory(void) const' d:\libraries\stlsoft\1.9.1- beta46\include\inetstl\filesystem\findfile_sequence.hpp(1110) : error C2244: 'stlsoft::inetstl_project::basic_findfile_sequence_value_type<C,T,X>::is_f ile' : unable to match function definition to an existing declaration d:\libraries\stlsoft\1.9.1- beta46\include\inetstl\filesystem\findfile_sequence.hpp(461) : see declaration of 'stlsoft::inetstl_project::basic_findfile_sequence_value_type<C,T,X>::is_f ile' definition 'stlsoft::inetstl_project::is_bool_t stlsoft::inetstl_project::basic_findfile_sequence_value_type<C,T,X>::is_fi le(void) const' existing declarations 'basic_findfile_sequence<C,T,X>::bool_type stlsoft::inetstl_project::basic_findfile_sequence_value_type<C,T,X>::is_fi le(void) const' d:\libraries\stlsoft\1.9.1- beta46\include\inetstl\filesystem\findfile_sequence.hpp(1119) : error C2244: 'stlsoft::inetstl_project::basic_findfile_sequence_value_type<C,T,X>::is_r ead_only' : unable to match function definition to an existing declaration d:\libraries\stlsoft\1.9.1- beta46\include\inetstl\filesystem\findfile_sequence.hpp(463) : see declaration of 'stlsoft::inetstl_project::basic_findfile_sequence_value_type<C,T,X>::is_r ead_only' definition 'stlsoft::inetstl_project::is_bool_t stlsoft::inetstl_project::basic_findfile_sequence_value_type<C,T,X>::is_re ad_only(void) const' existing declarations 'basic_findfile_sequence<C,T,X>::bool_type stlsoft::inetstl_project::basic_findfile_sequence_value_type<C,T,X>::is_re ad_only(void) const' d:\libraries\stlsoft\1.9.1- beta46\include\inetstl\filesystem\findfile_sequence.hpp(1129) : error C2244: 'stlsoft::inetstl_project::basic_findfile_sequence_value_type<C,T,X>::equa l' : unable to match function definition to an existing declaration definition 'stlsoft::inetstl_project::is_bool_t stlsoft::inetstl_project::basic_findfile_sequence_value_type<C,T,X>::equal (const C *) const' existing declarations 'basic_findfile_sequence<C,T,X>::bool_type stlsoft::inetstl_project::basic_findfile_sequence_value_type<C,T,X>::equal (const stlsoft::inetstl_project::basic_findfile_sequence_value_type<C,T,X> &) const' 'basic_findfile_sequence<C,T,X>::bool_type stlsoft::inetstl_project::basic_findfile_sequence_value_type<C,T,X>::equal (const C *) const' d:\libraries\stlsoft\1.9.1- beta46\include\inetstl\filesystem\findfile_sequence.hpp(1139) : error C2244: 'stlsoft::inetstl_project::basic_findfile_sequence_value_type<C,T,X>::equa l' : unable to match function definition to an existing declaration definition 'stlsoft::inetstl_project::is_bool_t stlsoft::inetstl_project::basic_findfile_sequence_value_type<C,T,X>::equal (const stlsoft::inetstl_project::basic_findfile_sequence_value_type<C,T,X> &) const' existing declarations 'basic_findfile_sequence<C,T,X>::bool_type stlsoft::inetstl_project::basic_findfile_sequence_value_type<C,T,X>::equal (const stlsoft::inetstl_project::basic_findfile_sequence_value_type<C,T,X> &) const' 'basic_findfile_sequence<C,T,X>::bool_type stlsoft::inetstl_project::basic_findfile_sequence_value_type<C,T,X>::equal (const C *) const' d:\libraries\stlsoft\1.9.1- beta46\include\inetstl\filesystem\findfile_sequence.hpp(1465) : error C2244: 'stlsoft::inetstl_project::basic_findfile_sequence_const_input_iterator<C, T,X,V>::equal' : unable to match function definition to an existing declaration d:\libraries\stlsoft\1.9.1- beta46\include\inetstl\filesystem\findfile_sequence.hpp(631) : see declaration of 'stlsoft::inetstl_project::basic_findfile_sequence_const_input_iterator<C, T,X,V>::equal' definition 'stlsoft::inetstl_project::is_bool_t stlsoft::inetstl_project::basic_findfile_sequence_const_input_iterator<C,T ,X,V>::equal(const stlsoft::inetstl_project::basic_findfile_sequence_const_input_iterator<C,T ,X,V> &) const' existing declarations 'basic_findfile_sequence<C,T,X>::bool_type stlsoft::inetstl_project::basic_findfile_sequence_const_input_iterator<C,T ,X,V>::equal(const stlsoft::inetstl_project::basic_findfile_sequence_const_input_iterator<C,T ,X,V> &) const' Build log was saved at "file:// d:\Projects\Local\FindfileSequenceTest\Debug\BuildLog.htm" FindfileSequenceTest - 6 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
 stlsoft\containers\pod_vector.hpp

------ Build started: Project: FindfileSequenceTest, Configuration: Debug Win32 ------ Compiling... FindfileSequenceTest.cpp d:\libraries\stlsoft\1.9.1- beta46\include\stlsoft\containers\pod_vector.hpp(676) : error C2244: 'stlsoft::pod_vector<T,A,SPACE>::size' : unable to match function definition to an existing declaration d:\libraries\stlsoft\1.9.1- beta46\include\stlsoft\containers\pod_vector.hpp(197) : see declaration of 'stlsoft::pod_vector<T,A,SPACE>::size' definition 'stlsoft::ss_size_t stlsoft::pod_vector<T,A,SPACE>::size(void) const' existing declarations 'auto_buffer_old<T,A,SPACE>::size_type stlsoft::pod_vector<T,A,SPACE>::size(void) const' d:\libraries\stlsoft\1.9.1- beta46\include\stlsoft\containers\pod_vector.hpp(691) : error C2244: 'stlsoft::pod_vector<T,A,SPACE>::capacity' : unable to match function definition to an existing declaration d:\libraries\stlsoft\1.9.1- beta46\include\stlsoft\containers\pod_vector.hpp(198) : see declaration of 'stlsoft::pod_vector<T,A,SPACE>::capacity' definition 'stlsoft::ss_size_t stlsoft::pod_vector<T,A,SPACE>::capacity(void) const' existing declarations 'auto_buffer_old<T,A,SPACE>::size_type stlsoft::pod_vector<T,A,SPACE>::capacity(void) const' d:\libraries\stlsoft\1.9.1- beta46\include\stlsoft\containers\pod_vector.hpp(706) : error C2244: 'stlsoft::pod_vector<T,A,SPACE>::max_size' : unable to match function definition to an existing declaration d:\libraries\stlsoft\1.9.1- beta46\include\stlsoft\containers\pod_vector.hpp(199) : see declaration of 'stlsoft::pod_vector<T,A,SPACE>::max_size' definition 'stlsoft::ss_size_t stlsoft::pod_vector<T,A,SPACE>::max_size(void) const' existing declarations 'auto_buffer_old<T,A,SPACE>::size_type stlsoft::pod_vector<T,A,SPACE>::max_size(void) const' Build log was saved at "file:// d:\Projects\Local\FindfileSequenceTest\Debug\BuildLog.htm" FindfileSequenceTest - 3 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
 winstl\filesystem\findfile_sequence.hpp

------ Build started: Project: FindfileSequenceTest, Configuration: Debug Win32 ------ Compiling... FindfileSequenceTest.cpp d:\libraries\stlsoft\1.9.1- beta46\include\winstl\filesystem\findfile_sequence.hpp(1152) : error C2244: 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::length' : unable to match function definition to an existing declaration d:\libraries\stlsoft\1.9.1- beta46\include\winstl\filesystem\findfile_sequence.hpp(443) : see declaration of 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::length' definition 'stlsoft::ss_size_t stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::length(v oid) const' existing declarations 'basic_findfile_sequence<C,T>::size_type stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::length(v oid) const' d:\libraries\stlsoft\1.9.1- beta46\include\winstl\filesystem\findfile_sequence.hpp(1174) : error C2244: 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_dire ctory' : unable to match function definition to an existing declaration d:\libraries\stlsoft\1.9.1- beta46\include\winstl\filesystem\findfile_sequence.hpp(455) : see declaration of 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_dire ctory' definition 'stlsoft::winstl_project::ws_bool_t stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_direc tory(void) const' existing declarations 'basic_findfile_sequence<C,T>::bool_type stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_direc tory(void) const' d:\libraries\stlsoft\1.9.1- beta46\include\winstl\filesystem\findfile_sequence.hpp(1184) : error C2244: 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_file ' : unable to match function definition to an existing declaration d:\libraries\stlsoft\1.9.1- beta46\include\winstl\filesystem\findfile_sequence.hpp(457) : see declaration of 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_file ' definition 'stlsoft::winstl_project::ws_bool_t stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_file( void) const' existing declarations 'basic_findfile_sequence<C,T>::bool_type stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_file( void) const' d:\libraries\stlsoft\1.9.1- beta46\include\winstl\filesystem\findfile_sequence.hpp(1193) : error C2244: 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_comp ressed' : unable to match function definition to an existing declaration d:\libraries\stlsoft\1.9.1- beta46\include\winstl\filesystem\findfile_sequence.hpp(459) : see declaration of 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_comp ressed' definition 'stlsoft::winstl_project::ws_bool_t stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_compr essed(void) const' existing declarations 'basic_findfile_sequence<C,T>::bool_type stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_compr essed(void) const' d:\libraries\stlsoft\1.9.1- beta46\include\winstl\filesystem\findfile_sequence.hpp(1203) : error C2244: 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_repa rse_point' : unable to match function definition to an existing declaration d:\libraries\stlsoft\1.9.1- beta46\include\winstl\filesystem\findfile_sequence.hpp(462) : see declaration of 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_repa rse_point' definition 'stlsoft::winstl_project::ws_bool_t stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_repar se_point(void) const' existing declarations 'basic_findfile_sequence<C,T>::bool_type stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_repar se_point(void) const' d:\libraries\stlsoft\1.9.1- beta46\include\winstl\filesystem\findfile_sequence.hpp(1213) : error C2244: 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_read _only' : unable to match function definition to an existing declaration d:\libraries\stlsoft\1.9.1- beta46\include\winstl\filesystem\findfile_sequence.hpp(465) : see declaration of 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_read _only' definition 'stlsoft::winstl_project::ws_bool_t stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_read_ only(void) const' existing declarations 'basic_findfile_sequence<C,T>::bool_type stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_read_ only(void) const' d:\libraries\stlsoft\1.9.1- beta46\include\winstl\filesystem\findfile_sequence.hpp(1222) : error C2244: 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_syst em' : unable to match function definition to an existing declaration d:\libraries\stlsoft\1.9.1- beta46\include\winstl\filesystem\findfile_sequence.hpp(467) : see declaration of 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_syst em' definition 'stlsoft::winstl_project::ws_bool_t stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_syste m(void) const' existing declarations 'basic_findfile_sequence<C,T>::bool_type stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_syste m(void) const' d:\libraries\stlsoft\1.9.1- beta46\include\winstl\filesystem\findfile_sequence.hpp(1231) : error C2244: 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_hidd en' : unable to match function definition to an existing declaration d:\libraries\stlsoft\1.9.1- beta46\include\winstl\filesystem\findfile_sequence.hpp(469) : see declaration of 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_hidd en' definition 'stlsoft::winstl_project::ws_bool_t stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_hidde n(void) const' existing declarations 'basic_findfile_sequence<C,T>::bool_type stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::is_hidde n(void) const' d:\libraries\stlsoft\1.9.1- beta46\include\winstl\filesystem\findfile_sequence.hpp(1241) : error C2244: 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::equal' : unable to match function definition to an existing declaration definition 'stlsoft::winstl_project::ws_bool_t stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::equal(co nst C *) const' existing declarations 'basic_findfile_sequence<C,T>::bool_type stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::equal(co nst stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T> &) const' 'basic_findfile_sequence<C,T>::bool_type stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::equal(co nst C *) const' d:\libraries\stlsoft\1.9.1- beta46\include\winstl\filesystem\findfile_sequence.hpp(1251) : error C2244: 'stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::equal' : unable to match function definition to an existing declaration definition 'stlsoft::winstl_project::ws_bool_t stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::equal(co nst stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T> &) const' existing declarations 'basic_findfile_sequence<C,T>::bool_type stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::equal(co nst stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T> &) const' 'basic_findfile_sequence<C,T>::bool_type stlsoft::winstl_project::basic_findfile_sequence_value_type<C,T>::equal(co nst C *) const' d:\libraries\stlsoft\1.9.1- beta46\include\winstl\filesystem\findfile_sequence.hpp(1700) : error C2244: 'stlsoft::winstl_project::basic_findfile_sequence_const_input_iterator<C,T ,V>::equal' : unable to match function definition to an existing declaration d:\libraries\stlsoft\1.9.1- beta46\include\winstl\filesystem\findfile_sequence.hpp(639) : see declaration of 'stlsoft::winstl_project::basic_findfile_sequence_const_input_iterator<C,T ,V>::equal' definition 'stlsoft::winstl_project::ws_bool_t stlsoft::winstl_project::basic_findfile_sequence_const_input_iterator<C,T, V>::equal(const stlsoft::winstl_project::basic_findfile_sequence_const_input_iterator<C,T, V> &) const' existing declarations 'basic_findfile_sequence<C,T>::bool_type stlsoft::winstl_project::basic_findfile_sequence_const_input_iterator<C,T, V>::equal(const stlsoft::winstl_project::basic_findfile_sequence_const_input_iterator<C,T, V> &) const' Build log was saved at "file:// d:\Projects\Local\FindfileSequenceTest\Debug\BuildLog.htm" FindfileSequenceTest - 11 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
 winstl\filesystem\findvolume_sequence.hpp

------ Build started: Project: FindfileSequenceTest, Configuration: Debug Win32 ------ Compiling... FindfileSequenceTest.cpp Linking... Embedding manifest... Build log was saved at "file:// d:\Projects\Local\FindfileSequenceTest\Debug\BuildLog.htm" FindfileSequenceTest - 0 error(s), 0 warning(s) ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ========== With the modified header, all compile without error and without warning. So, your guess was correct. Respect for figuring that out, I would never have thought that different versions of the compiler could behave that differently. :-) So Long... Gabor
Mar 13 2007
parent "Matthew Wilson" <matthew hat.stlsoft.dot.org> writes:
"Gabor Fischer" <Gabor.Fischer systecs.com> wrote in message
news:ACpX4d3$QNB systecs.com...
 Hello!

 Can you do me a favour, and try each of the following (separately) with


 original msvc.h file, and with the modified one, and send me the full


 compilation errors/warnings?


<snip>
 With the modified header, all compile without error and without warning.

Great news!
 So, your guess was correct. Respect for figuring that out, I would never
 have thought that different versions of the compiler could behave that
 differently. :-)

Well, it is my code, so I suppose I should be able to figure these things out. :-) Matthew
Mar 21 2007
prev sibling parent reply Gabor.Fischer systecs.com (Gabor Fischer) writes:
Hello!


 Ok, I think I've figured out what's going on.

And you got it right. :-)
 My version of VC++ 8 is 14.00.50727.42 (it's the free one).

Ist SP1 installed? If not, you might want to try if the difference in behaviour is due to SP1 (I have SP1 installed), or if it is really a difference between the Express Edition and the Professional Edition. So Long... Gabor
Mar 13 2007
parent "Matthew Wilson" <matthew hat.stlsoft.dot.org> writes:
 My version of VC++ 8 is 14.00.50727.42 (it's the free one).

Ist SP1 installed? If not, you might want to try if the difference in behaviour is due to SP1 (I have SP1 installed), or if it is really a difference between the Express Edition and the Professional Edition.

I'm pretty sure I haven't upgraded it in any way. I'll check this out as soon as I get a moment. (Which may be a while: very busy atm.) Matthew
Mar 21 2007
prev sibling parent reply Gabor.Fischer systecs.com (Gabor Fischer) writes:
Hello!


 Clearly, it compiles for me. Two things are strange, however:

This is getting really weird. :-/
 1. It compiles FindfileSequenceTest.cpp before stdafx.cpp

Yes, now that you pointed it out, I noticed that too
 2. It does not suppress the CRT safe stuff (which you'd indicated that you'd
 done).

It is set in the project (you can verify it in the project settings). I don't get those warnings.
 Can you try opening a VC++2005 command prompt, and compiling
 FindfileSequenceTest.cpp on its own, with a command-line similar to the
 following:

 "H:\3Pty\STLSoft\FindfileSequenceTest>cl -nologo -EHsc -c
 -IH:\3Pty\STLSoft\stlsoft-1.9.1.beta46\include -D_CRT_SECURE_NO_DEPRECATE
 FindfileSequenceTest.cpp FindfileSequenceTest.cpp

 H:\3Pty\STLSoft\FindfileSequenceTest>"

 Let me know how it goes...

Here is the result: D:\Projects\Local\FindfileSequenceTest>cl -nologo -EHsc -c - ID:\Libraries\STLSof t\1.9.1-beta45\include -D_CRT_SECURE_NO_DEPRECATE FindfileSequenceTest.cpp FindfileSequenceTest.cpp D:\Libraries\STLSoft\1.9.1-beta45\include\winstl/filesystem/findfile_sequence.hp p(1152) : error C2244: 'stlsoft::winstl_project::basic_findfile_sequence_value_t ype<C,T>::length' : unable to match function definition to an existing declarati on D:\Libraries\STLSoft\1.9.1-beta45\include\winstl/filesystem/findfile_seq uence.hpp(443) : see declaration of 'stlsoft::winstl_project::basic_findfile_seq uence_value_type<C,T>::length' definition 'stlsoft::ss_size_t stlsoft::winstl_project::basic_findfile_sequence_val ue_type<C,T>::length(void) const' existing declarations 'basic_findfile_sequence<C,T>::size_type stlsoft::winstl_project::basic_ findfile_sequence_value_type<C,T>::length(void) const' D:\Libraries\STLSoft\1.9.1-beta45\include\winstl/filesystem/findfile_sequence.hp p(1174) : error C2244: 'stlsoft::winstl_project::basic_findfile_sequence_value_t ype<C,T>::is_directory' : unable to match function definition to an existing dec laration D:\Libraries\STLSoft\1.9.1-beta45\include\winstl/filesystem/findfile_seq uence.hpp(455) : see declaration of 'stlsoft::winstl_project::basic_findfile_seq uence_value_type<C,T>::is_directory' definition 'stlsoft::winstl_project::ws_bool_t stlsoft::winstl_project::basic_findf ile_sequence_value_type<C,T>::is_directory(void) const' existing declarations 'basic_findfile_sequence<C,T>::bool_type stlsoft::winstl_project::basic_ findfile_sequence_value_type<C,T>::is_directory(void) const' D:\Libraries\STLSoft\1.9.1-beta45\include\winstl/filesystem/findfile_sequence.hp p(1184) : error C2244: 'stlsoft::winstl_project::basic_findfile_sequence_value_t ype<C,T>::is_file' : unable to match function definition to an existing declarat ion D:\Libraries\STLSoft\1.9.1-beta45\include\winstl/filesystem/findfile_seq uence.hpp(457) : see declaration of 'stlsoft::winstl_project::basic_findfile_seq uence_value_type<C,T>::is_file' definition 'stlsoft::winstl_project::ws_bool_t stlsoft::winstl_project::basic_findf ile_sequence_value_type<C,T>::is_file(void) const' existing declarations 'basic_findfile_sequence<C,T>::bool_type stlsoft::winstl_project::basic_ findfile_sequence_value_type<C,T>::is_file(void) const' D:\Libraries\STLSoft\1.9.1-beta45\include\winstl/filesystem/findfile_sequence.hp p(1193) : error C2244: 'stlsoft::winstl_project::basic_findfile_sequence_value_t ype<C,T>::is_compressed' : unable to match function definition to an existing de claration D:\Libraries\STLSoft\1.9.1-beta45\include\winstl/filesystem/findfile_seq uence.hpp(459) : see declaration of 'stlsoft::winstl_project::basic_findfile_seq uence_value_type<C,T>::is_compressed' definition 'stlsoft::winstl_project::ws_bool_t stlsoft::winstl_project::basic_findf ile_sequence_value_type<C,T>::is_compressed(void) const' existing declarations 'basic_findfile_sequence<C,T>::bool_type stlsoft::winstl_project::basic_ findfile_sequence_value_type<C,T>::is_compressed(void) const' D:\Libraries\STLSoft\1.9.1-beta45\include\winstl/filesystem/findfile_sequence.hp p(1203) : error C2244: 'stlsoft::winstl_project::basic_findfile_sequence_value_t ype<C,T>::is_reparse_point' : unable to match function definition to an existing declaration D:\Libraries\STLSoft\1.9.1-beta45\include\winstl/filesystem/findfile_seq uence.hpp(462) : see declaration of 'stlsoft::winstl_project::basic_findfile_seq uence_value_type<C,T>::is_reparse_point' definition 'stlsoft::winstl_project::ws_bool_t stlsoft::winstl_project::basic_findf ile_sequence_value_type<C,T>::is_reparse_point(void) const' existing declarations 'basic_findfile_sequence<C,T>::bool_type stlsoft::winstl_project::basic_ findfile_sequence_value_type<C,T>::is_reparse_point(void) const' D:\Libraries\STLSoft\1.9.1-beta45\include\winstl/filesystem/findfile_sequence.hp p(1213) : error C2244: 'stlsoft::winstl_project::basic_findfile_sequence_value_t ype<C,T>::is_read_only' : unable to match function definition to an existing dec laration D:\Libraries\STLSoft\1.9.1-beta45\include\winstl/filesystem/findfile_seq uence.hpp(465) : see declaration of 'stlsoft::winstl_project::basic_findfile_seq uence_value_type<C,T>::is_read_only' definition 'stlsoft::winstl_project::ws_bool_t stlsoft::winstl_project::basic_findf ile_sequence_value_type<C,T>::is_read_only(void) const' existing declarations 'basic_findfile_sequence<C,T>::bool_type stlsoft::winstl_project::basic_ findfile_sequence_value_type<C,T>::is_read_only(void) const' D:\Libraries\STLSoft\1.9.1-beta45\include\winstl/filesystem/findfile_sequence.hp p(1222) : error C2244: 'stlsoft::winstl_project::basic_findfile_sequence_value_t ype<C,T>::is_system' : unable to match function definition to an existing declar ation D:\Libraries\STLSoft\1.9.1-beta45\include\winstl/filesystem/findfile_seq uence.hpp(467) : see declaration of 'stlsoft::winstl_project::basic_findfile_seq uence_value_type<C,T>::is_system' definition 'stlsoft::winstl_project::ws_bool_t stlsoft::winstl_project::basic_findf ile_sequence_value_type<C,T>::is_system(void) const' existing declarations 'basic_findfile_sequence<C,T>::bool_type stlsoft::winstl_project::basic_ findfile_sequence_value_type<C,T>::is_system(void) const' D:\Libraries\STLSoft\1.9.1-beta45\include\winstl/filesystem/findfile_sequence.hp p(1231) : error C2244: 'stlsoft::winstl_project::basic_findfile_sequence_value_t ype<C,T>::is_hidden' : unable to match function definition to an existing declar ation D:\Libraries\STLSoft\1.9.1-beta45\include\winstl/filesystem/findfile_seq uence.hpp(469) : see declaration of 'stlsoft::winstl_project::basic_findfile_seq uence_value_type<C,T>::is_hidden' definition 'stlsoft::winstl_project::ws_bool_t stlsoft::winstl_project::basic_findf ile_sequence_value_type<C,T>::is_hidden(void) const' existing declarations 'basic_findfile_sequence<C,T>::bool_type stlsoft::winstl_project::basic_ findfile_sequence_value_type<C,T>::is_hidden(void) const' D:\Libraries\STLSoft\1.9.1-beta45\include\winstl/filesystem/findfile_sequence.hp p(1241) : error C2244: 'stlsoft::winstl_project::basic_findfile_sequence_value_t ype<C,T>::equal' : unable to match function definition to an existing declaratio n definition 'stlsoft::winstl_project::ws_bool_t stlsoft::winstl_project::basic_findf ile_sequence_value_type<C,T>::equal(const C *) const' existing declarations 'basic_findfile_sequence<C,T>::bool_type stlsoft::winstl_project::basic_ findfile_sequence_value_type<C,T>::equal(const stlsoft::winstl_project::basic_fi ndfile_sequence_value_type<C,T> &) const' 'basic_findfile_sequence<C,T>::bool_type stlsoft::winstl_project::basic_ findfile_sequence_value_type<C,T>::equal(const C *) const' D:\Libraries\STLSoft\1.9.1-beta45\include\winstl/filesystem/findfile_sequence.hp p(1251) : error C2244: 'stlsoft::winstl_project::basic_findfile_sequence_value_t ype<C,T>::equal' : unable to match function definition to an existing declaratio n definition 'stlsoft::winstl_project::ws_bool_t stlsoft::winstl_project::basic_findf ile_sequence_value_type<C,T>::equal(const stlsoft::winstl_project::basic_findfil e_sequence_value_type<C,T> &) const' existing declarations 'basic_findfile_sequence<C,T>::bool_type stlsoft::winstl_project::basic_ findfile_sequence_value_type<C,T>::equal(const stlsoft::winstl_project::basic_fi ndfile_sequence_value_type<C,T> &) const' 'basic_findfile_sequence<C,T>::bool_type stlsoft::winstl_project::basic_ findfile_sequence_value_type<C,T>::equal(const C *) const' D:\Libraries\STLSoft\1.9.1-beta45\include\winstl/filesystem/findfile_sequence.hp p(1700) : error C2244: 'stlsoft::winstl_project::basic_findfile_sequence_const_i nput_iterator<C,T,V>::equal' : unable to match function definition to an existin g declaration D:\Libraries\STLSoft\1.9.1-beta45\include\winstl/filesystem/findfile_seq uence.hpp(639) : see declaration of 'stlsoft::winstl_project::basic_findfile_seq uence_const_input_iterator<C,T,V>::equal' definition 'stlsoft::winstl_project::ws_bool_t stlsoft::winstl_project::basic_findf ile_sequence_const_input_iterator<C,T,V>::equal(const stlsoft::winstl_project::b asic_findfile_sequence_const_input_iterator<C,T,V> &) const' existing declarations 'basic_findfile_sequence<C,T>::bool_type stlsoft::winstl_project::basic_ findfile_sequence_const_input_iterator<C,T,V>::equal(const stlsoft::winstl_proje ct::basic_findfile_sequence_const_input_iterator<C,T,V> &) const' D:\Projects\Local\FindfileSequenceTest> Here is the version info of my compiler: D:\Projects\Local\FindfileSequenceTest>cl Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for 80x86 Copyright (C) Microsoft Corporation. All rights reserved. usage: cl [ option... ] filename... [ /link linkoption... ] D:\Projects\Local\FindfileSequenceTest> So Long... Gabor
Mar 12 2007
parent reply Gabor.Fischer systecs.com (Gabor Fischer) writes:
Hello!

 Try this:
 http://synesis.com.au/downloads/stlsoft/stlsoft-1.9.1-beta46-VC8.14.00.50727
 .762.patch.zip

With the patch and the original msvc.h, all compile without errors and warnings, except pod_vector.hpp (which is not surprising, since it was not replaced by the patch). With the modified msvc.h and the patch, all compile without errors and warnings. So Long... Gabor
Mar 13 2007
parent "Matthew Wilson" <matthew hat.stlsoft.dot.org> writes:
"Gabor Fischer" <Gabor.Fischer systecs.com> wrote in message
news:ACpX51U4QNB systecs.com...
 Hello!

 Try this:


 .762.patch.zip

With the patch and the original msvc.h, all compile without errors and warnings, except pod_vector.hpp (which is not surprising, since it was not replaced by the patch). With the modified msvc.h and the patch, all compile without errors and warnings.

Thanks for the help. Much appreciated. I hope to release beta 47 today (and then maybe the whole 1.9.1 schemozzle in a few days from now.) Cheers Matthew
Mar 21 2007