Opened 10 years ago

Last modified 10 years ago

#7991 new Bugs

Many warnings with uBlas while compiling with clang/libc++

Reported by: sebastien.gilles@… Owned by: Gunter
Milestone: To Be Determined Component: uBLAS
Version: Boost 1.53.0 Severity: Problem
Keywords: Warnings Cc:

Description

I am currently compiling a project which uses mostly uBLAS library, and the problem is that I am crippled with many warnings, most of them from exterior libraries, among which Boost uBlas.

Granted, I am very though with my compilation options (only an handful of warnings were deleted from clang's -Weverything), but the warnings obtained went from harmless (-Wmissing-noreturn, -Wweak-tables, -Wunused-parameter) to some a lot more worrying (-Wshadow).

Do you intend to get rid of these warnings ? The page for this library indicates it is check against quite old compilers (gcc 4.0, Visual Studio 6, no trace of clang)

Best regards,

Sebastien Gilles

Attachments (2)

patch_sebastien_gilles.patch (20.4 KB ) - added by sebastien.gilles@… 10 years ago.
Patch for some of the warnings
patch_sebastien_gilles_110213.patch (31.6 KB ) - added by sgilles 10 years ago.
New patch that also corrects -Wshadow warnings

Download all attachments as: .zip

Change History (4)

by sebastien.gilles@…, 10 years ago

Patch for some of the warnings

comment:1 by anonymous, 10 years ago

I've just added a patch with some of the corrections I had to provide to disable some warnings (as I said previously clang is *very* touchy, hence the correction upon doxygen comments)

The "old" version of the patch is current package 1.53

comment:2 by viboes, 10 years ago

Component: NoneuBLAS
Owner: set to Gunter

by sgilles, 10 years ago

New patch that also corrects -Wshadow warnings

Note: See TracTickets for help on using tickets.