diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2013-03-02 22:19:33 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2013-03-02 22:19:33 +0000 |
commit | fc9156a8a0951e645cca59a2173a8101eca0dba8 (patch) | |
tree | 2b31e3214594efafc898e98c965b00a7b8a45c98 /epan/dfilter | |
parent | 73aafe2bc4db3f0d0d98107d2b2e861f1dcbc543 (diff) |
Try to fix LNK4217 (locally defined symbol imported in function) and C4273 (inconsistent DLL linkage) warnings when compiling for Windows
svn path=/trunk/; revision=48021
Diffstat (limited to 'epan/dfilter')
-rw-r--r-- | epan/dfilter/Makefile.nmake | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/epan/dfilter/Makefile.nmake b/epan/dfilter/Makefile.nmake index f3028c354a..bc0c3e9dc5 100644 --- a/epan/dfilter/Makefile.nmake +++ b/epan/dfilter/Makefile.nmake @@ -15,9 +15,10 @@ GENERATED_CFLAGS=\ $(STANDARD_CFLAGS) \ /I. /I.. /I..\.. $(GLIB_CFLAGS) \ /I$(LEMON) \ - /I$(PCAP_DIR)\include + /I$(PCAP_DIR)\include \ + -DWS_BUILD_DLL -CFLAGS=$(WARNINGS_ARE_ERRORS) $(GENERATED_CFLAGS) -DWS_BUILD_DLL +CFLAGS=$(WARNINGS_ARE_ERRORS) $(GENERATED_CFLAGS) .c.obj:: $(CC) $(CFLAGS) -Fd.\ -c $< |