Modify

Opened 5 years ago

Closed 5 years ago

#6788 closed Bugs (fixed)

uuid test missing includes of <string>

Reported by: Stephen Clamage <stephen.clamage@…> Owned by: atompkins
Milestone: To Be Determined Component: uuid
Version: Boost 1.49.0 Severity: Problem
Keywords: Cc:

Description

The files listed below include <stdexcept> and invoke std::runtime_error with a literal string argument. The only standard runtime_error constructor takes a std::string argument, so a string(const char*) constructor is needed. Although <stdexcept> is allowed to include <string>, it is not required to do so, and not all library implementations do. Portable code must include <string> explicitly.

-- uuid/test/compile_name_generator.cpp -- uuid/test/compile_random_generator.cpp -- uuid/test/compile_seed_rng.cpp -- uuid/test/test_random_generator.cpp -- uuid/test/test_sha1.cpp

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by atompkins

fixed in trunk rev 80472

comment:2 Changed 5 years ago by atompkins

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

checked in release - changeset #80846

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain atompkins.
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.