Error using native_file_string()
Hi,
I am newbie to boost. I was earlier using boost-1.33.1 and my code was
working fine. In FC6 i am compiling my code and shows me the following
error.
*
error: âclass
boost::filesystem::basic_directory_entry
On Fri, 18 Jan 2008 00:34:22 +0530
"Eswar K"
I was earlier using boost-1.33.1 and my code was working fine.
I will assume that you are now using Boost-1.34.1...
add_file( (*dir_itr).native_file_string() );
I do not have the oportunity to test it, but I think that you should try something like this:
add_file( (*dir_itr).path().native_file_string() );
^^^^^^^
And I think that native_file_string() is deprecated. Yo should use file_string() instead.
HTH,
Raul.
--
participants (2)
-
Eswar K
-
raulh39@ya.com