Boost logo

Boost :

From: Paul A. Bristow (boost_at_[hidden])
Date: 2003-11-13 11:19:36


Excellent.

It might be useful to document the actual warning number for those Googling
Boost documentation for a solution their problem.

For MSVC 7.1, writing x = 0; and not using it produces

warning C4189: 'x' : local variable is initialized but not referenced.

And that this is level 4 warning, not shown on the default level 3 setting :-(

This should encourage people to up their warning level who before might have
been discouraged by the spurious warnings.

(Similarly for other compilers of course).

And reassure that there should be no run-time cost?

Paul

Paul A Bristow, Prizet Farmhouse, Kendal, Cumbria, LA8 8AB UK
+44 1539 561830 Mobile +44 7714 33 02 04
mailto:pbristow_at_[hidden]

| -----Original Message-----
| From: boost-bounces_at_[hidden]
| [mailto:boost-bounces_at_[hidden]]On Behalf Of Rene Rivera
| Sent: Wednesday, November 12, 2003 9:30 PM
| To: Boost
| Subject: [boost] Fast Track Review Request: Disable unused variable
| warnings.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk