Thread overview
stlsfot 1.10-alpha-12 breaking recls 1.8.14
Jan 17, 2010
Dimitri Kaparis
Jan 17, 2010
Dimitri Kaparis
Jan 18, 2010
Matt Wilson
January 17, 2010
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/filesystem/path.hpp:189: error: expected type-specifier /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp:189: error: expected '>' /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp:561: error: template argument 3 is invalid /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp:561: error: invalid type in declaration before ';' token /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp:567: error: template argument 3 is invalid /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp:567: error: invalid type in declaration before ';' token /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp:592: error: expected type-specifier /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp:592: error: expected '>' /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp:743: error: template argument 3 is invalid /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp: In function 'int stlsoft::platformstl_project::make_path(const C*)': /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp:745: error: template argument 3 is invalid /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp: At global scope: /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/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/filesystem/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

January 17, 2010
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/filesystem/path.hpp:189: error: expected type-specifier /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp:189: error: expected '>' /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp:561: error: template argument 3 is invalid /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp:561: error: invalid type in declaration before ';' token /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp:567: error: template argument 3 is invalid /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp:567: error: invalid type in declaration before ';' token /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp:592: error: expected type-specifier /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp:592: error: expected '>' /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp:743: error: template argument 3 is invalid /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp: In function 'int stlsoft::platformstl_project::make_path(const C*)': /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp:745: error: template argument 3 is invalid /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp: At global scope: /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/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/filesystem/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

January 18, 2010
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/filesystem/path.hpp:189:
>> error: expected type-specifier
>> /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp:189:
>> error: expected '>'
>> /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp:561:
>> error: template argument 3 is invalid
>> /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp:561:
>> error: invalid type in declaration before ';' token
>> /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp:567:
>> error: template argument 3 is invalid
>> /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp:567:
>> error: invalid type in declaration before ';' token
>> /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp:592:
>> error: expected type-specifier
>> /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp:592:
>> error: expected '>'
>> /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp:743:
>> error: template argument 3 is invalid
>> /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp:
>> In function 'int stlsoft::platformstl_project::make_path(const C*)':
>> /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp:745:
>> error: template argument 3 is invalid
>> /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/path.hpp:
>> At global scope:
>> /home/BSSBG/mitko/projects/icam/triton/camera/3rdparty/stlsoft/include/platformstl/filesystem/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/filesystem/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
>