Subject: [Boost-bugs] [Boost C++ Libraries] #7440: boost::filesystem compile error on solaris 10
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-09-28 14:57:10
#7440: boost::filesystem compile error on solaris 10
-----------------------------------------------+----------------------------
Reporter: aleksandar.vukajlovic@⦠| Type: Bugs
Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.51.0
Severity: Problem | Keywords:
-----------------------------------------------+----------------------------
It fails to compile on gcc 4.7.2 with compile flags
cxxflags=-std=c++0x[[BR]]
libs/filesystem/src/operations.cpp: In function 'void
boost::filesystem::detail:
:permissions(const boost::filesystem::path&, boost::filesystem::perms,
boost::system::error_code*)':
libs/filesystem/src/operations.cpp:1412:11: error: '::fchmodat' has not
been declared
in line 1410 there is:[[BR]]
{{{
&& !(defined(__SUNPRO_CC) || defined(sun)) \
}}}
proper check for solaris would be:[[BR]]
{{{
&& !(defined(__SUNPRO_CC) || defined(sun) || defined(__sun)) \
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7440> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC