|
Geometry : |
Subject: Re: [geometry] "C4189: '...' : local variable is initialized but not referenced" compiler warning in geometry 1.52.0
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2013-03-28 10:11:19
On 28 March 2013 14:01, Volker Schöch <vschoech_at_[hidden]> wrote:
> I'm using VS 2012 to compile boost 1.52.0. The following warnings occur in geometry (regardless whether I'm compiling for x64 or x86).
>
> \boost_1_52_0\boost\geometry\algorithms\detail\overlay\get_turns.hpp(140):
> error C4189: 'n' : local variable is initialized but not referencedint const n = int(section.range_count);
^^^^^^^^^^^^^^^^^^
You should also mention you are using W4.
Best regards,
-- Mateusz Loskot, http://mateusz.loskot.net
Geometry list run by mateusz at loskot.net