Opened 9 years ago
Closed 9 years ago
#8793 closed Bugs (fixed)
Non-portable syntax
Reported by: | Owned by: | Ion Gaztañaga | |
---|---|---|---|
Milestone: | To Be Determined | Component: | interprocess |
Version: | Boost 1.54.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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
};
The actual line I'm trying to highlight is not so obvious because of the reformatting that was done. The actual line in question is line #117.