Opened 13 years ago
Last modified 13 years ago
#3728 new Patches
boost::ublas headers cause multiple warnings with -Wshadow
| Reported by: | 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)
Change History (4)
by , 13 years ago
| Attachment: | ublas.patch added |
|---|
by , 13 years ago
| Attachment: | ublas.2.patch added |
|---|
comment:1 by , 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 , 13 years ago
| Component: | numeric → uBLAS |
|---|---|
| Owner: | changed from to |
Note:
See TracTickets
for help on using tickets.

updated patch file to fix warnings