From 31e02e22e075a37434354a26ef5d1dd8f58808e5 Mon Sep 17 00:00:00 2001 From: Martin Kinkelin Date: Fri, 31 Mar 2023 14:31:30 +0200 Subject: [PATCH] Remove deprecated -check-printf-calls dflag for LDC It's deprecated since LDC v1.31, as `pragma(printf)` (used by core.stdc.stdio) is much better and supported by all compilers. Additionally, I haven't found a single printf occurrence in this repo here. --- dub.json | 1 - wscript | 1 - 2 files changed, 2 deletions(-) diff --git a/dub.json b/dub.json index f935f5d5..30962980 100644 --- a/dub.json +++ b/dub.json @@ -18,7 +18,6 @@ "importPaths": ["."], "dflags": ["-ignore"], "dflags-gdc": ["-ggdb"], - "dflags-ldc": ["-check-printf-calls"], "configurations": [ { "name": "default" diff --git a/wscript b/wscript index 8f1a7881..45f57f33 100644 --- a/wscript +++ b/wscript @@ -62,7 +62,6 @@ def configure(conf): add_option('-wi') add_option('-ignore') add_option('-property') - add_option('-check-printf-calls') add_option('-g') if conf.options.mode == 'debug':