[pangomm/pangomm-2-42] NMake Makefiles: Silence warnings with latest glibmm stable



commit 0451c6eccaa4f663085fd8072eea07e6b760a7f0
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Mon Mar 30 17:15:25 2020 +0800

    NMake Makefiles: Silence warnings with latest glibmm stable
    
    The glibmm headers (and pangomm headers in the near future) use compiler
    directives to control symbol export, so we can safely ignore warnings
    C4251 and C4275 as we are certain that we are indeed using these
    compiler directives to import (and later, export) symbols in our builds.

 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 1c59ec6..073a9a8 100644
--- a/MSVC_NMake/config-msvc.mak
+++ b/MSVC_NMake/config-msvc.mak
@@ -36,7 +36,7 @@ PANGOMM_BASE_CFLAGS =                 \
        /I..\untracked\pango\pangomm    \
        /I..\pango\pangomm      \
        /I.\pangomm             \
-       /wd4530 /EHsc   \
+       /wd4530 /wd4251 /wd4275 /EHsc   \
        /FImsvc_recommended_pragmas.h
 
 PANGOMM_EXTRA_INCLUDES =       \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]