Opened 9 years ago

Last modified 9 years ago

#48026 closed defect

boost @ 1.58.0 filesystem.exists() function fails with g++ 5.1.0 — at Version 2

Reported by: chris.jonesey@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: boost

Description (last modified by larryv (Lawrence Velázquez))

In the attached test case the filesystem.exists() function always returns false with g++ and works correctly with clang++.

% port -v
MacPorts 2.3.3

% clang++ --version
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.1.0
Thread model: posix


% g++ --version
g++ (MacPorts gcc5 5.1.0_0) 5.1.0
Copyright (C) 2015 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.


% ./test_filesystem.clang.macport_boost ./test_filesystem.clang.macport_boost
The file './test_filesystem.clang.macport_boost' exists!

% ./test_filesystem.gcc.macport_boost ./test_filesystem.gcc.macport_boost
The file './test_filesystem.gcc.macport_boost' DOES NOT exist.

Change History (3)

Changed 9 years ago by chris.jonesey@…

Attachment: test_filesystem.cc added

comment:1 Changed 9 years ago by chris.jonesey@…

Cc: chris.jonesey@… added

Cc Me!

comment:2 Changed 9 years ago by larryv (Lawrence Velázquez)

Cc: chris.jonesey@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Note: See TracTickets for help on using tickets.