Boost logo

Boost :

Subject: [boost] [uuid] Unused variable warnings
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2012-04-27 05:41:23


With recent versions of boost I get lots of warnings like the following:

/.../boost/uuid/seed_rng.hpp: In member function ‘void
/.../boost/uuid/seed_rng.hpp:157:24: warning: variable ‘not_used’ set but not
used [-Wunused-but-set-variable]

I'm using GCC 4.6 with -Wall. It's trivial to mask this warning out by
attaching __attribute__((unused)) to the variable, which I've done locally. Ok
to commit?

Boost list run by bdawes at, gregod at, cpdaniel at, john at