diff options
author | Richard Weickelt <richard@weickelt.de> | 2019-04-10 05:43:53 +0200 |
---|---|---|
committer | Richard Weickelt <richard@weickelt.de> | 2019-04-10 08:22:54 +0000 |
commit | 2ccd4c3672e5db2c25ca0f8df439fe8f646aa942 (patch) | |
tree | a389015c4b7904a215889e5fc835a1df24812347 /src/quick/items/context2d | |
parent | 3cd9a785a7b4cd7e7e0479826a30272e9e8def03 (diff) |
Fix false unused parameter warnings
When building Qt on Ubuntu 16.04 with gcc 5.4, build fails due to a warning
about unused parameters. Warnings are treated as errors by default.
This is most likely a bug in g++ and has probably been fixed in later
versions. For instance, no warning is emitted for the synthesized
operator= few lines further down.
Above setup will be officially supported by Qt 5.14 and therefore, I
suggest to work around this issue by omitting the explicit parameter names.
Change-Id: Ifb22e39b7f5fa5101b188eec715d8620d4589941
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/quick/items/context2d')
0 files changed, 0 insertions, 0 deletions