Opened 11 years ago

Closed 11 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:

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 (1)

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

Download all attachments as: .zip

Change History (5)

by olim@…, 11 years ago

Attachment: string_generator.patch added

comment:1 by Andy Tompkins, 11 years ago

checked into trunk

comment:2 by olim@…, 11 years ago

Can you also check it into the release branch?

comment:3 by Andy Tompkins, 11 years ago

checked into release

comment:4 by Andy Tompkins, 11 years ago

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