Boost logo

Geometry :

Subject: [ggl] Warnings!
From: Chris Browet (cbro)
Date: 2009-06-16 11:04:31


Unfortunately, using ggl generates dozens of warnings regarding unused
parameters, and using projections makes it hundreds!

I'd suggest to go the Qt way.
Qt defines "#define Q_UNUSED(x) (void)x;". This (I assume) do not produce
any code but silence the compiler.

Using this mechanism, e.g., for the "dummy" parameters, would drastically
reduce the number of warnings.

I understand the projections are directly generated from the PROJ4 code.
Adding this to your templates will also greatly help maintaining clean
builds (and would allow me to again find the relevant warnings in my code
among the noise :-)

Regards
- Chris -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/ggl/attachments/20090616/c427bd7a/attachment.html


Geometry list run by mateusz at loskot.net