Modify

Ticket #5570 (closed Bugs: fixed)

Opened 3 years ago

Last modified 3 years ago

Compile error in uuid string_generator.hpp

Reported by: olim@… Owned by: atompkins
Milestone: Boost 1.47.0 Component: uuid
Version: Boost 1.46.1 Severity: Problem
Keywords: Cc:

Description

There is a compile error in string_generator.hpp when exceptions are disabled. When exceptions are disabled try, catch, throw are no longer valid keywords. Here is a patch with a fix to call throw_exception(x) instead of throw x. Maybe BOOST_THROW_EXCEPTION(x) should be used instead?

Can someone please incorporate this patch into the next boost release?

Attachments

string_generator.patch Download (1.4 KB) - added by olim@… 3 years ago.

Change History

Changed 3 years ago by olim@…

comment:1 Changed 3 years ago by atompkins

checked into trunk

comment:2 Changed 3 years ago by olim@…

Can you also check it into the release branch?

comment:3 Changed 3 years ago by atompkins

checked into release

comment:4 Changed 3 years ago by atompkins

  • Status changed from new to closed
  • Resolution set to fixed
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.