Opened 13 years ago

Closed 13 years ago

#3198 closed Bugs (duplicate)

compiler warnings in VC9

Reported by: kfriddile@… Owned by: nasonov
Milestone: Boost 1.40.0 Component: lexical_cast
Version: Boost 1.39.0 Severity: Problem
Keywords: Cc:

Description

lexical_cast issues the following warning under VC9 at warning level 4:

c:\redsword\third_party\boost\1_39_0\boost\lexical_cast.hpp(1159) : warning C4702: unreachable code

I find it odd that this warning is allowed through when the comments a few lines up (line 1139) explain a workaround that was done to squelch a different warning at warning level 4. Can this warning please be suppressed for those of us who must work under warning level 4 with warnings as errors turned on?

Change History (2)

comment:1 by Richard Webb <richard.webb@…>, 13 years ago

This is a duplicate of #1791

comment:2 by nasonov, 13 years ago

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.