[Boost-bugs] [Boost C++ Libraries] #8793: Non-portable syntax

Subject: [Boost-bugs] [Boost C++ Libraries] #8793: Non-portable syntax
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-07-08 00:45:02


#8793: Non-portable syntax
------------------------------+--------------------------
 Reporter: lcarreon@… | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: interprocess
  Version: Boost 1.54.0 | Severity: Problem
 Keywords: |
------------------------------+--------------------------
 In the file boost/interprocess/errors.hpp, some compilers do not like the
 following syntax (see highlighted line):

 enum error_code_t
 {
    no_error = 0,
    system_error, // system generated error; if possible, is translated
                      // to one of the more specific errors below.
    other_error, // library generated error
    security_error, // includes access rights, permissions failures
    read_only_error,
    io_error,
    path_error,
    not_found_error,
 // not_directory_error,
    busy_error, // implies trying again might succeed
    already_exists_error,
    not_empty_error,
    is_directory_error,
    out_of_space_error,
    out_of_memory_error,
    out_of_resource_error,
    lock_error,
    sem_error,
    mode_error,
    size_error,
    corrupted_error,
    not_such_file_or_directory,
    invalid_argument,
    timeout_when_locking_error,
    timeout_when_waiting_error, <<< some compilers don't like this
 };

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8793>
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:13 UTC