This forum has been archived. All content is frozen. Please use KDE Discuss instead.

-Wshadow and -Wsign-conversion warnings

Tags: None
(comma "," separated)
davidje13
Registered Member
Posts
13
Karma
0
OS
I always compile with as many warnings enabled as possible, and I'm currently getting ~50 from Eigen which clutter the output (the number keeps growing as I use more features; reaching 50 has motivated me to ask about it!) So I'm just wondering what the stance on warnings is here.

(the ones I see are mostly about implicit conversions — almost all are "long->size_t" or "unsigned int->int" — and a couple of shadowed variables)

Is it worth reporting these, or are they considered not worth fixing?
jitseniesen
Registered Member
Posts
204
Karma
2
We do try to get rid of warnings. I guess none of us regularly compiles with these flags. It's definitely worth reporting at our issue tracker at http://eigen.tuxfamily.org/bz/ , though it's not necessary to list them all (compiling our test suite with these warnings enabled will catch most if not all occurances).
davidje13
Registered Member
Posts
13
Karma
0
OS


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]