Hello Boost Users,

I've got problems using Boost.Filesystem v3 under Sun Solaris 10.

If I compile this example with -DBOOST_FILESYSTEM_VERSION=3
http://www.boost.org/doc/libs/1_44_0/libs/filesystem/v3/example/tut3.cpp

It works like that:

bash-3.00# /tmp/bb /etc
"/etc" exists, but is neither a regular file nor a directory

If I remove this flag (to make it use Filesystem v2) it works as expected.

bash-3.00# /opt/csw/gcc4/bin/g++ --version
g++ (Blastwave.org Inc. Mon Aug 23 11:16:32 GMT 2010) 4.5.1
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

bash-3.00# uname -a
SunOS localhost 5.10 Generic_120012-14 i86pc i386 i86pc

Thanks.