www.digitalmars.com         C & C++   DMDScript  

c++.stlsoft - Recls 1.8.5 Problems with Unicode

reply "ClŠudio Albuquerque" <0318222801 netcabo.pt> writes:
Hi Mathew,

We started using your recls Library and we ran into some problems using it 
with unicode builds in VC 8.Here are the issues we found:


1) We tried to compile the example_stl_1.cpp and got into some problems, 
could you dispense some help on this matter?

Error 3 error C2664: 'recls::Recls_GetErrorString' : cannot convert 
parameter 2 from 'char *__w64 ' to 'recls::recls_char_t *' 
D:\stlsoft\1.9.1\include\recls\stl\recls.hpp 240

Error 6 error C2665: 'std::basic_string<_Elem,_Traits,_Ax>::basic_string' : 
none of the 13 overloads could convert all the argument types 
D:\stlsoft\1.9.1\include\recls\stl\recls.hpp 290


2)
In the fileentry.hpp file you are "using" some shims that are not define 
(ex: using ::recls::cpp::c_str_ptr_a; using ::recls::cpp::c_str_data_a; 
using ::recls::cpp::c_str_len_a;).
So we browsed the recls code and changed to something like:
# ifdef RECLS_CHAR_TYPE_IS_CHAR
    using ::recls::cpp::c_str_ptr_a;
    ....
#endif
# ifdef RECLS_CHAR_TYPE_IS_WCHAR
    using ::recls::cpp::c_str_ptr_w;
    ...
#endif
Hopefully this changed allowed us to do the compilation, although I'm not 
sure this is the correct mindset to solve this problem.

Thanks for the time & help
Kind Regards
ClŠudio Albuquerque 
May 31 2007
parent reply Matthew Wilson <no-one nowhere.no.com> writes:
Am on it. All looks hopeful at this point. Should be able to release new
version tomorrow.

btw, may I ask what you're using recls for?

Cheers

Matt
Jun 01 2007
parent reply "ClŠudio Albuquerque" <0318222801 netcabo.pt> writes:
Hi Mathew,

In regards to your question. Currently we are only using the recursive 
search in the local hardrive.
Although in the near future we will be using the FTP search facility.

Regards
ClŠudio Albuquerque

"Matthew Wilson" <no-one nowhere.no.com> wrote in message 
news:f3q1n1$bki$1 digitalmars.com...
 Am on it. All looks hopeful at this point. Should be able to release new 
 version tomorrow.

 btw, may I ask what you're using recls for?

 Cheers

 Matt 

Jun 02 2007
parent "Matthew Wilson" <matthew hat.stlsoft.dot.org> writes:
Cool. Let me know if 1.8.10 fixes your problems.

"ClŠudio Albuquerque" <0318222801 netcabo.pt> wrote in message
news:f3sg4r$jjo$1 digitalmars.com...
 Hi Mathew,

 In regards to your question. Currently we are only using the recursive
 search in the local hardrive.
 Although in the near future we will be using the FTP search facility.

 Regards
 ClŠudio Albuquerque

 "Matthew Wilson" <no-one nowhere.no.com> wrote in message
 news:f3q1n1$bki$1 digitalmars.com...
 Am on it. All looks hopeful at this point. Should be able to release new
 version tomorrow.

 btw, may I ask what you're using recls for?

 Cheers

 Matt


Jun 02 2007