Opened 7 years ago

Closed 7 years ago

#11484 closed Bug report (wontfix)

Build failure on Mac OS X <= 10.6: use of undeclared identifier 'O_CLOEXEC'

Reported by: Ryan Schmidt Owned by:
Priority: normal Component: libfilezilla
Keywords: Cc:
Component version: 0.11.1 Operating system type: OS X
Operating system version: 10.6.8

Description

Building libfilezilla fails on Mac OS X 10.6 and earlier:

file.cpp:143:14: error: use of undeclared identifier 'O_CLOEXEC'
        int flags = O_CLOEXEC;
                    ^
1 error generated.

Here is a full build log.

O_CLOEXEC was not defined in macOS until version 10.7.

Looks like this problem has been present since the libfilezilla code was originally checked in in r7050.

Change History (1)

comment:1 by Tim Kosse, 7 years ago

Resolution: wontfix
Status: newclosed

FileZilla requires OS X 10.9 or later. Please update to OSX 10.9 or later.

Note: See TracTickets for help on using tickets.