#46060: --enable-debug=checks fails to build Magickwand (3.1.0-alpha4+ (d8e0a65283)) Open Date: 2022-11-12 09:54 Last Update: 2022-11-12 09:56 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/46060 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=46060 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-11-12 09:56 Updated by: chippo Comment: Sorry for reporting this bug anonymously - I'd got logged out somehow. --------------------------------------------------------------------- Ticket Status: Reporter: (Anonymous) Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: (None) Component: (None) Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: If I run configure with --enable-debug=checks, the build fails with: In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:131, from /usr/include/ImageMagick-6/wand/MagickWand.h:77, from ../../src/common/mapimg.c:24: /usr/include/ImageMagick-6/magick/opencl.h:63:3: error: function declaration isn’t a prototype [-Werror=strict-prototypes] 63 | GetDefaultOpenCLEnv(); | ^~~~~~~~~~~~~~~~~~~ If --enable-debug is anything other than 'checks', the build is successful. -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/46060 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=46060