[QGIS-Developer] FALLTHROUGH
Régis Haubourg
regis.haubourg at gmail.com
Mon Jul 17 08:36:42 PDT 2017
Same here on a brand new ubuntu 16.10
Régis
2017-07-17 17:14 GMT+02:00 Richard Duivenvoorde <rdmailings at duif.net>:
> Hi,
>
> Compiling master / Debian testing I get a lot of the warning as seen below.
>
> Is there some compile option I have to add? Of is it something temporarily?
>
> Regards,
>
> Richard
>
>
> In file included from
> /home/richard/dev/qgis/git/qgis/src/core/qgsmaplayerstore.h:23:0,
> from
> /home/richard/dev/qgis/git/qgis/src/core/qgsproject.h:42,
> from
> /home/richard/dev/qgis/git/qgis/src/core/expression/
> qgsexpressionutils.h:26,
> from
> /home/richard/dev/qgis/git/qgis/src/core/expression/
> qgsexpressionnodeimpl.cpp:17:
> /home/richard/dev/qgis/git/qgis/src/core/expression/
> qgsexpressionnodeimpl.cpp:
> In member function ‘virtual QVariant
> QgsExpressionNodeBinaryOperator::evalNode(QgsExpression*, const
> QgsExpressionContext*)’:
> /home/richard/dev/qgis/git/qgis/src/core/qgis.h:389:21: warning:
> attributes at the beginning of statement are ignored [-Wattributes]
> #define FALLTHROUGH [[gnu::fallthrough]];
> ^
> /home/richard/dev/qgis/git/qgis/src/core/expression/
> qgsexpressionnodeimpl.cpp:182:7:
> note: in expansion of macro ‘FALLTHROUGH’
> FALLTHROUGH;
> ^~~~~~~~~~~
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170717/25c6edb1/attachment.html>
More information about the QGIS-Developer
mailing list