Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-32266

Solaris/gcc 4.8: QLockFile fails to compile

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.1.0
    • 5.1.0
    • Core: I/O
    • None
    • GCC 4.8.0
      Solaris 10 x64
    • 4315f270e6d553f0c6537617b8efff8988f1f083

    Description

      io/qlockfile_unix.cpp: In static member function 'static int QLockFilePrivate::checkFcntlWorksAfterFlock()':
      io/qlockfile_unix.cpp:87:19: error: 'LOCK_EX' was not declared in this scope
      if (flock(fd, LOCK_EX | LOCK_NB) == -1) // other threads, and other processes on a local fs
      io/qlockfile_unix.cpp:87:29: error: 'LOCK_NB' was not declared in this scope
      if (flock(fd, LOCK_EX | LOCK_NB) == -1) // other threads, and other processes on a local fs
      io/qlockfile_unix.cpp: In function 'bool setNativeLocks(int)':
      io/qlockfile_unix.cpp:119:19: error: 'LOCK_EX' was not declared in this scope
      if (flock(fd, LOCK_EX | LOCK_NB) == -1) // other threads, and other processes on a local fs
      io/qlockfile_unix.cpp:119:29: error: 'LOCK_NB' was not declared in this scope
      if (flock(fd, LOCK_EX | LOCK_NB) == -1) // other threads, and other processes on a local fs

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dfaure David Faure (Private)
            chris5287 Chris Stylianou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes