Ticket #5570 (closed Bugs: fixed)

Opened 5 years ago

Last modified 4 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:


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?


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

Change History

Changed 5 years ago by olim@…

comment:1 Changed 5 years ago by atompkins

checked into trunk

comment:2 Changed 4 years ago by olim@…

Can you also check it into the release branch?

comment:3 Changed 4 years ago by atompkins

checked into release

comment:4 Changed 4 years ago by atompkins

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

Add a comment

Modify Ticket

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

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

Note: See TracTickets for help on using tickets.