[atkmm/atkmm-2-28] NMake Makefiles: Disable warnings C4251 and C4275
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [atkmm/atkmm-2-28] NMake Makefiles: Disable warnings C4251 and C4275
- Date: Tue, 31 Mar 2020 10:42:45 +0000 (UTC)
commit 1d2a99ab75ec53f096649f57a41c706c355cc22b
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Tue Mar 31 18:25:07 2020 +0800
NMake Makefiles: Disable warnings C4251 and C4275
Since we may be building against GLib that use __declspec(dllimport) to
import symbols, we can safely ignore warnings C4251 and C4275, as they
are harmless in this case as we are certain that we are really using
those compiler directives.
MSVC_NMake/config-msvc.mak | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/MSVC_NMake/config-msvc.mak b/MSVC_NMake/config-msvc.mak
index d0858f8..8719014 100644
--- a/MSVC_NMake/config-msvc.mak
+++ b/MSVC_NMake/config-msvc.mak
@@ -29,7 +29,7 @@ GMMPROC_DIR=$(PREFIX)\share\glibmm-$(GLIBMM_MAJOR_VERSION).$(GLIBMM_MINOR_VERSIO
ATKMM_BASE_CFLAGS = \
/Ivs$(PDBVER)\$(CFG)\$(PLAT) \
/I..\atk /I.\atkmm \
- /wd4530 /EHsc \
+ /wd4530 /wd4251 /wd4275 /EHsc \
/FImsvc_recommended_pragmas.h
!if $(PDBVER) > 12
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]