Opened 13 years ago

Last modified 13 years ago

#3728 new Patches

boost::ublas headers cause multiple warnings with -Wshadow

Reported by: marc.schafer@… Owned by: Gunter
Milestone: Boost 1.42.0 Component: uBLAS
Version: Boost 1.40.0 Severity: Cosmetic
Keywords: Cc:

Description

The headers in boost::ublas often make use of local variables that shadow functions or other local variables. Eliminating these warnings simply requires changing the variable names.

Attachments (2)

ublas.patch (65.2 KB ) - added by marc.schafer@… 13 years ago.
ublas.2.patch (64.9 KB ) - added by marc.schafer@… 13 years ago.
updated patch file to fix warnings

Download all attachments as: .zip

Change History (4)

by marc.schafer@…, 13 years ago

Attachment: ublas.patch added

by marc.schafer@…, 13 years ago

Attachment: ublas.2.patch added

updated patch file to fix warnings

comment:1 by anonymous, 13 years ago

I attached a second patch file because the first one contains a fix to a warning that is caused by a bug in gcc 4.2. The bug has been fixed in gcc 4.3 and the original code no longer causes a warning so I removed the change from the patch file.

comment:2 by Steven Watanabe, 13 years ago

Component: numericuBLAS
Owner: changed from Douglas Gregor to Gunter
Note: See TracTickets for help on using tickets.