Opened 13 years ago

Closed 13 years ago

#3172 closed Bugs (fixed)

sys/utime.h missing on EVC++ 9

Reported by: Jeremiah Willcock Owned by: Beman Dawes
Milestone: Boost 1.40.0 Component: filesystem
Version: Boost 1.39.0 Severity: Problem
Keywords: Cc:

Description

The file <sys/utime.h> is missing on Embedded Visual C++ 9, as shown by the regression test result at http://tinyurl.com/lc4usj. Boost.Filesystem apparently uses this header and so will not compile on this platform.

Change History (1)

comment:1 by Beman Dawes, 13 years ago

Resolution: fixed
Status: newclosed

(In [54032]) Filesystem: fix #3172, ECV++ 9 missing <sys/utime.h>. The fix applied was to include <ctime> instead. This is the correct header; the previous song-and-dance was workaround on top of workaround from years ago. This change will break any Windows libraries that don't provide <ctime>, but if that happens workarounds specific to those libraries can be added. That's better than cluttering up the code with workarounds no longer needed.

Note: See TracTickets for help on using tickets.