Opened 6 years ago

Closed 6 years ago

#5570 closed Bugs (fixed)

Compile error in uuid string_generator.hpp

Reported by: olim@… Owned by: Andy Tompkins
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?

Attachments (1)

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

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by olim@…

Attachment: string_generator.patch added

comment:1 Changed 6 years ago by Andy Tompkins

checked into trunk

comment:2 Changed 6 years ago by olim@…

Can you also check it into the release branch?

comment:3 Changed 6 years ago by Andy Tompkins

checked into release

comment:4 Changed 6 years ago by Andy Tompkins

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Andy Tompkins.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.