www.digitalmars.com         C & C++   DMDScript  

c++.stlsoft - stlsfot 1.10-alpha-12 breaking recls 1.8.14

reply Dimitri Kaparis <M8R-ndt1fx mailinator.com> writes:
Hello,

having updated stlsoft to 1.10-alpha-12, building recls 1.8.14 fails with
numerous errors in platformstl/filesystem/path.hpp and others:

In file included from ../../src/recls_api.cpp:61:                              
                                                                  
/home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:189: error: expected type-specifier        
/home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:189: error: expected '>'                   
/home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:561: error: template argument 3 is invalid 
/home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:561: error: invalid type in declaration before ';' token        
                                                                               
                                            
/home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:567: error: template argument 3 is invalid 
/home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:567: error: invalid type in declaration before ';' token        
                                                                               
                                            
/home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:592: error: expected type-specifier        
/home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:592: error: expected '>'                   
/home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:743: error: template argument 3 is invalid 
/home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/
ilesystem/path.hpp: In function 'int
stlsoft::platformstl_project::make_path(const C*)':                            
                                                                               
           
/home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:745: error: template argument 3 is invalid 
/home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/
ilesystem/path.hpp: At global scope:                          
/home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/files
stem/path.hpp:1445: error: declaration of
'stlsoft::platformstl_project::basic_path<C, T, A>&
stlsoft::platformstl_project::basic_path<C, T, A>::pop_file()' throws different
exceptions                   
/home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:357: error: from previous declaration
'stlsoft::platformstl_project::basic_path<C, T, A>&
stlsoft::platformstl_project::basic_path<C, T, A>::pop_file() throw ()'        
                   
....

Regards,
Dimitri
Jan 17 2010
parent reply Dimitri Kaparis <M8R-ndt1fx mailinator.com> writes:
Dimitri Kaparis Wrote:

 Hello,
 
 having updated stlsoft to 1.10-alpha-12, building recls 1.8.14 fails with
numerous errors in platformstl/filesystem/path.hpp and others:
 
 In file included from ../../src/recls_api.cpp:61:                             
                                                                   
 /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:189: error: expected type-specifier        
 /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:189: error: expected '>'                   
 /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:561: error: template argument 3 is invalid 
 /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:561: error: invalid type in declaration before ';' token        
                                                                               
                                            
 /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:567: error: template argument 3 is invalid 
 /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:567: error: invalid type in declaration before ';' token        
                                                                               
                                            
 /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:592: error: expected type-specifier        
 /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:592: error: expected '>'                   
 /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:743: error: template argument 3 is invalid 
 /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/
ilesystem/path.hpp: In function 'int
stlsoft::platformstl_project::make_path(const C*)':                            
                                                                               
           
 /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:745: error: template argument 3 is invalid 
 /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/
ilesystem/path.hpp: At global scope:                          
 /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/files
stem/path.hpp:1445: error: declaration of
'stlsoft::platformstl_project::basic_path<C, T, A>&
stlsoft::platformstl_project::basic_path<C, T, A>::pop_file()' throws different
exceptions                   
 /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:357: error: from previous declaration
'stlsoft::platformstl_project::basic_path<C, T, A>&
stlsoft::platformstl_project::basic_path<C, T, A>::pop_file() throw ()'        
                   
 ....
 
 Regards,
 Dimitri
 
Forgot to mention, this is on linux, gcc 4.3.2
Jan 17 2010
parent "Matt Wilson" <matthewwilson acm.org> writes:
Thanks

I actually found this myself a few days ago. The fix is to replace line 189 
with

        ,   ss_typename_param_k A = ss_typename_param_k 
stlsoft::allocator_selector<C>::allocator_type

This'll be in the next 1.10 alpha release, due out in the next few days.

Cheers

Matt


"Dimitri Kaparis" <M8R-ndt1fx mailinator.com> wrote in message 
news:hiurs1$1867$1 digitalmars.com...
 Dimitri Kaparis Wrote:

 Hello,

 having updated stlsoft to 1.10-alpha-12, building recls 1.8.14 fails with 
 numerous errors in platformstl/filesystem/path.hpp and others:

 In file included from ../../src/recls_api.cpp:61:
 /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:189: 
 error: expected type-specifier
 /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:189: 
 error: expected '>'
 /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:561: 
 error: template argument 3 is invalid
 /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:561: 
 error: invalid type in declaration before ';' token
 /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:567: 
 error: template argument 3 is invalid
 /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:567: 
 error: invalid type in declaration before ';' token
 /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:592: 
 error: expected type-specifier
 /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:592: 
 error: expected '>'
 /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:743: 
 error: template argument 3 is invalid
 /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/
ilesystem/path.hpp: 
 In function 'int stlsoft::platformstl_project::make_path(const C*)':
 /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:745: 
 error: template argument 3 is invalid
 /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/
ilesystem/path.hpp: 
 At global scope:
 /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/files
stem/path.hpp:1445: 
 error: declaration of 'stlsoft::platformstl_project::basic_path<C, T, A>& 
 stlsoft::platformstl_project::basic_path<C, T, A>::pop_file()' throws 
 different exceptions
 /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/file
ystem/path.hpp:357: 
 error: from previous declaration 
 'stlsoft::platformstl_project::basic_path<C, T, A>& 
 stlsoft::platformstl_project::basic_path<C, T, A>::pop_file() throw ()'
 ....

 Regards,
 Dimitri
Forgot to mention, this is on linux, gcc 4.3.2
Jan 17 2010