Re: [brlcad-devel] "variable set but not used" error problem
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: Christopher S. M. <br...@ma...> - 2012-06-15 19:01:38
|
On Jun 15, 2012, at 2:32 PM, Anurag Murty wrote: > I use: > cmake -DCMAKE_BUILD_TYPE=Debug -DBRLCAD_BUNDLED_LIBS=Bundled -BRLCAD_ENABLE_STRICT > when configuring make. But I never seem to get errors or warnings like "variable set but not used". Is there a mistake in the way I use cmake? If not, how can i rectify this problem? Upgrade your compiler and you'll get more warnings. The latest for gcc is the 4.7.1 release. The 4.6 series enabled a slew of additional checks with every version, 4.6.3 being the latest on that line. Cheers! Sean |