Opened 14 years ago

Closed 14 years ago

#2288 closed Bugs (fixed)

QNX-specific errors in boost 1.36.0 code

Reported by: talanchor@… Owned by: Emil Dotchevski
Milestone: To Be Determined Component: filesystem
Version: Boost 1.36.0 Severity: Problem
Keywords: Cc:

Description

in file boost_1_36_0\libs\filesystem\src\operations.cpp at line 588:

return ::rmdir( p )

missing ';', should be:

return ::rmdir( p );

in file boost_1_36_0_modified\libs\system\src\error_code.cpp at line 157: EALREADY defined as EBUSY in QNX Neutrino and code fails to compile because of case duplication. instead of

case EALREADY: return make_error_condition( connection_already_in_progress );

should be:

#if !defined(__QNXNTO__)
case EALREADY: return make_error_condition( connection_already_in_progress );
#endif

in file boost_1_36_0_modified\boost\exception\enable_current_exception.hpp at line 35: qcc 3.3.5 compiler complains because of wrong throw specifier in destructor, thats why we must add following destructor to bad_alloc_impl struct:

~bad_alloc_impl() throw() {}

Attachments (1)

boost_1_36_0_modified.zip (16.7 KB ) - added by Alexander Levshin <talanchor@…> 14 years ago.
modified files

Download all attachments as: .zip

Change History (4)

by Alexander Levshin <talanchor@…>, 14 years ago

Attachment: boost_1_36_0_modified.zip added

modified files

comment:1 by Marshall Clow, 14 years ago

Component: Nonefilesystem
Owner: set to Beman Dawes

comment:2 by Beman Dawes, 14 years ago

Owner: changed from Beman Dawes to Emil Dotchevski

The operations.cpp problem was fixed in response to another ticket.

The error_code.cpp problem is now fixed.

The enable_current_exception.cpp problem needs to be fixed by Emil Dotchevski.

--Beman

comment:3 by Emil Dotchevski, 14 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.