aboutsummaryrefslogtreecommitdiff
path: root/C/Util
diff options
context:
space:
mode:
authorIgor Pavlov <87184205+ip7z@users.noreply.github.com>2022-07-16 00:00:00 +0000
committerIgor Pavlov <87184205+ip7z@users.noreply.github.com>2023-12-17 14:35:38 +0500
commit93be7d4abfd4233228f58ee1fbbcd76d91be66a4 (patch)
tree9b11631a70ca7150321838d9d6bd473e52d6684d /C/Util
parenta3e1d227377188734b82f023f96f8e25dc40f3e6 (diff)
download7zip-22.01.tar.gz
7zip-22.01.tar.bz2
7zip-22.01.zip
22.0122.01
Diffstat (limited to 'C/Util')
-rw-r--r--C/Util/7zipInstall/7zipInstall.c8
-rw-r--r--C/Util/7zipUninstall/7zipUninstall.c6
2 files changed, 11 insertions, 3 deletions
diff --git a/C/Util/7zipInstall/7zipInstall.c b/C/Util/7zipInstall/7zipInstall.c
index 00d0f41..2649734 100644
--- a/C/Util/7zipInstall/7zipInstall.c
+++ b/C/Util/7zipInstall/7zipInstall.c
@@ -1,5 +1,5 @@
1/* 7zipInstall.c - 7-Zip Installer 1/* 7zipInstall.c - 7-Zip Installer
22021-09-02 : Igor Pavlov : Public domain */ 22022-07-15 : Igor Pavlov : Public domain */
3 3
4#include "Precomp.h" 4#include "Precomp.h"
5 5
@@ -22,6 +22,10 @@
22 22
23#include "resource.h" 23#include "resource.h"
24 24
25#if defined(__GNUC__) && (__GNUC__ >= 8)
26 #pragma GCC diagnostic ignored "-Wcast-function-type"
27#endif
28
25#define LLL_(quote) L##quote 29#define LLL_(quote) L##quote
26#define LLL(quote) LLL_(quote) 30#define LLL(quote) LLL_(quote)
27 31
@@ -70,7 +74,7 @@ static LPCWSTR const k_Reg_Software_7zip = L"Software\\7-Zip";
70 #endif 74 #endif
71#endif 75#endif
72 76
73#define k_7zip_with_Ver k_7zip_with_Ver_base k_Postfix 77#define k_7zip_with_Ver k_7zip_with_Ver_base k_Postfix
74 78
75 79
76static LPCWSTR const k_7zip_with_Ver_str = k_7zip_with_Ver; 80static LPCWSTR const k_7zip_with_Ver_str = k_7zip_with_Ver;
diff --git a/C/Util/7zipUninstall/7zipUninstall.c b/C/Util/7zipUninstall/7zipUninstall.c
index b4c6ff5..c8e8a89 100644
--- a/C/Util/7zipUninstall/7zipUninstall.c
+++ b/C/Util/7zipUninstall/7zipUninstall.c
@@ -1,5 +1,5 @@
1/* 7zipUninstall.c - 7-Zip Uninstaller 1/* 7zipUninstall.c - 7-Zip Uninstaller
22021-11-24 : Igor Pavlov : Public domain */ 22022-07-15 : Igor Pavlov : Public domain */
3 3
4#include "Precomp.h" 4#include "Precomp.h"
5 5
@@ -17,6 +17,10 @@
17 17
18#include "resource.h" 18#include "resource.h"
19 19
20#if defined(__GNUC__) && (__GNUC__ >= 8)
21 #pragma GCC diagnostic ignored "-Wcast-function-type"
22#endif
23
20#define LLL_(quote) L##quote 24#define LLL_(quote) L##quote
21#define LLL(quote) LLL_(quote) 25#define LLL(quote) LLL_(quote)
22 26