www.digitalmars.com         C & C++   DMDScript  

c++.stlsoft - unixstl/filesystem problems

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

several problems with the unixstl/filesystem_traits.hpp on current (1.9.108)
STLSoft version with gcc 4.6:

stlsoft/include/unixstl/filesystem/filesystem_traits.hpp:1095:21: error:
variable ‘mode’ set but not used [-Werror=unused-but-set-variable]

Another one I'm not sure which compiler versions give the warning since I have
it patched, but in the file_handle_type invalid_file_handle_value() function,
returning NULL from there produces warning for conversion from integral to
pointer type.

Regards,
Dimitri
May 10 2011
parent "Matt Wilson" <matthewwilson acm.org> writes:
Dimitri

Thanks for reporting these. They've been fixed as of 1.9.111

Cheers

Matt

"Dimitri Kaparis" <M8R-ndt1fx mailinator.com> wrote in message 
news:iqbjh5$2vaq$1 digitalmars.com...
 Greetings,

 several problems with the unixstl/filesystem_traits.hpp on current 
 (1.9.108) STLSoft version with gcc 4.6:

 stlsoft/include/unixstl/filesystem/filesystem_traits.hpp:1095:21: error: 
 variable 'mode' set but not used [-Werror=unused-but-set-variable]

 Another one I'm not sure which compiler versions give the warning since I 
 have it patched, but in the file_handle_type invalid_file_handle_value() 
 function, returning NULL from there produces warning for conversion from 
 integral to pointer type.

 Regards,
 Dimitri
 
Dec 07 2011