+2007-12-09 Hans Breuer <hans@breuer.org>
+
+ * **/makefile.msc glib/makefile.msc.in : removed -GD to compile
+ with msvc9 (vs2008) with less complains
+
+ * glibconfig.h.win32.in : #define G_HAVE_ISO_VARARGS 1 for
+ msv8 (vs2005) and above
+
+ * glib/gfileutils.c : s/stricmp/_stricmp/
+ * msvc_recommended_pragmas.h : work around Microsoft's premature
+ attempt to deprecate the C-Library
+
+ * tests/makefile.msc.in : added checksum-test
+
2007-12-08 Christian Persch <chpe@gnome.org>
* gio/glocalfileinfo.c: (get_thumbnail_attributes): Add forgotten
user32.lib advapi32.lib shell32.lib wsock32.lib $(LDFLAGS) /def:$(PACKAGE).def
.c.obj :
- $(CC) $(CFLAGS) -GD -c $(PKG_CFLAGS) $<
+ $(CC) $(CFLAGS) -c $(PKG_CFLAGS) $<
if (lastdot == NULL)
return FALSE;
- if (stricmp (lastdot, ".exe") == 0 ||
- stricmp (lastdot, ".cmd") == 0 ||
- stricmp (lastdot, ".bat") == 0 ||
- stricmp (lastdot, ".com") == 0)
+ if (_stricmp (lastdot, ".exe") == 0 ||
+ _stricmp (lastdot, ".cmd") == 0 ||
+ _stricmp (lastdot, ".bat") == 0 ||
+ _stricmp (lastdot, ".com") == 0)
return TRUE;
/* Check if it is one of the types listed in %PATHEXT% */
TOP = ..\..\..
!INCLUDE ..\..\build\win32\make.msc
-INCLUDES = -I ..\..
+INCLUDES = -I ..\.. -I ..
DEFINES = -DHAVE_CONFIG_H -DHAVE_LONG_LONG_FORMAT
OBJECTS = \
-DMAX_NAME_COUNT=10000 \
-DMAX_DUPLENGTH=30000 \
-DLINK_SIZE=2 \
- -DEBCDIC=0 \
+ -UEBCDIC \
-DPOSIX_MALLOC_THRESHOLD=10
OBJECTS = \
- \.obj \
+ pcre_chartables.obj \
pcre_compile.obj \
pcre_config.obj \
pcre_dfa_exec.obj \
pcre_get.obj \
pcre_globals.obj \
pcre_info.obj \
- pcre_internal.obj \
pcre_maketables.obj \
pcre_newline.obj \
pcre_ord2utf8.obj \
pcre_valid_utf8.obj \
pcre_version.obj \
pcre_xclass.obj \
- ucp.obj \
- ucpinternal.obj \
- ucptable.h.obj \
all : pcre.lib
#endif
#define G_HAVE_GNUC_VARARGS 1
+#else /* _MSC_VER */
+/* varargs macros available since msvc8 (vs2005) */
+# if _MSC_VER >= 1400
+# define G_HAVE_ISO_VARARGS 1
+# endif
#endif /* not _MSC_VER */
#define G_HAVE_GROWING_STACK 0
#pragma warning(disable:4244) /* No possible loss of data warnings */
#pragma warning(disable:4305) /* No truncation from int to char warnings */
+
+/* work around Microsoft's premature attempt to deprecate the C-Library */
+#pragma warning(disable:4996) /* This function or variable may be unsafe. */
bit-test.exe \
bookmarkfile-test.exe \
child-test.exe \
+ checksum-test.exe \
completion-test.exe \
convert-test.exe \
date-test.exe \