Opened 12 years ago

Closed 12 years ago

#4371 closed Patches (fixed)

[random] - local variable shadows template parameter

Reported by: Chris Jefferson Owned by: Steven Watanabe
Milestone: Boost 1.44.0 Component: random
Version: Boost Development Trunk Severity: Problem
Keywords: Cc: ste

Description

The following tiny patch fixes a problem with a local variable shadowing a template parameter, which is against the standard (although accepted by several compilers). This fixes many problems with clang, as almost any library which uses random is currently hitting this issue.

Attachments (1)

linear_congruential.patch (858 bytes ) - added by Chris Jefferson 12 years ago.
linear_congruential patch

Download all attachments as: .zip

Change History (3)

by Chris Jefferson, 12 years ago

Attachment: linear_congruential.patch added

linear_congruential patch

comment:1 by Steven Watanabe, 12 years ago

Owner: changed from No-Maintainer to Steven Watanabe
Status: newassigned

Whoops. I'll take care of it right away.

comment:2 by Steven Watanabe, 12 years ago

Resolution: fixed
Status: assignedclosed

Fixed in [63284].

Note: See TracTickets for help on using tickets.