+2003-07-20 Hans Breuer <hans@breuer.org>
+
+ * glib/trio/makefile.msc : (new file) for msvc build
+
+ * glib/glib.def : removed some duplicated entries
+
+ * glib/gscanner.c : add same workaround for MSVC(5.0)
+ which does not allow to cast an uint64 to float.
+ Same as in gvaluetransform.c
+ Also move #include <io.h> behind inclusion of "glib.h"
+ which defines the needed G_OS_WIN32
+
+ * glib/makefile.msc.in : added gprintf.obj, trio\trio.lib
+ as well as shell32.lib
+
+ * tests/spawn-test.c : include <io.h> on win32
+
2003-07-12 Matthias Clasen <maclas@gmx.de>
* glib/gprintf.c: Doc additions.
+2003-07-20 Hans Breuer <hans@breuer.org>
+
+ * glib/trio/makefile.msc : (new file) for msvc build
+
+ * glib/glib.def : removed some duplicated entries
+
+ * glib/gscanner.c : add same workaround for MSVC(5.0)
+ which does not allow to cast an uint64 to float.
+ Same as in gvaluetransform.c
+ Also move #include <io.h> behind inclusion of "glib.h"
+ which defines the needed G_OS_WIN32
+
+ * glib/makefile.msc.in : added gprintf.obj, trio\trio.lib
+ as well as shell32.lib
+
+ * tests/spawn-test.c : include <io.h> on win32
+
2003-07-12 Matthias Clasen <maclas@gmx.de>
* glib/gprintf.c: Doc additions.
+2003-07-20 Hans Breuer <hans@breuer.org>
+
+ * glib/trio/makefile.msc : (new file) for msvc build
+
+ * glib/glib.def : removed some duplicated entries
+
+ * glib/gscanner.c : add same workaround for MSVC(5.0)
+ which does not allow to cast an uint64 to float.
+ Same as in gvaluetransform.c
+ Also move #include <io.h> behind inclusion of "glib.h"
+ which defines the needed G_OS_WIN32
+
+ * glib/makefile.msc.in : added gprintf.obj, trio\trio.lib
+ as well as shell32.lib
+
+ * tests/spawn-test.c : include <io.h> on win32
+
2003-07-12 Matthias Clasen <maclas@gmx.de>
* glib/gprintf.c: Doc additions.
+2003-07-20 Hans Breuer <hans@breuer.org>
+
+ * glib/trio/makefile.msc : (new file) for msvc build
+
+ * glib/glib.def : removed some duplicated entries
+
+ * glib/gscanner.c : add same workaround for MSVC(5.0)
+ which does not allow to cast an uint64 to float.
+ Same as in gvaluetransform.c
+ Also move #include <io.h> behind inclusion of "glib.h"
+ which defines the needed G_OS_WIN32
+
+ * glib/makefile.msc.in : added gprintf.obj, trio\trio.lib
+ as well as shell32.lib
+
+ * tests/spawn-test.c : include <io.h> on win32
+
2003-07-12 Matthias Clasen <maclas@gmx.de>
* glib/gprintf.c: Doc additions.
+2003-07-20 Hans Breuer <hans@breuer.org>
+
+ * glib/trio/makefile.msc : (new file) for msvc build
+
+ * glib/glib.def : removed some duplicated entries
+
+ * glib/gscanner.c : add same workaround for MSVC(5.0)
+ which does not allow to cast an uint64 to float.
+ Same as in gvaluetransform.c
+ Also move #include <io.h> behind inclusion of "glib.h"
+ which defines the needed G_OS_WIN32
+
+ * glib/makefile.msc.in : added gprintf.obj, trio\trio.lib
+ as well as shell32.lib
+
+ * tests/spawn-test.c : include <io.h> on win32
+
2003-07-12 Matthias Clasen <maclas@gmx.de>
* glib/gprintf.c: Doc additions.
+2003-07-20 Hans Breuer <hans@breuer.org>
+
+ * glib/trio/makefile.msc : (new file) for msvc build
+
+ * glib/glib.def : removed some duplicated entries
+
+ * glib/gscanner.c : add same workaround for MSVC(5.0)
+ which does not allow to cast an uint64 to float.
+ Same as in gvaluetransform.c
+ Also move #include <io.h> behind inclusion of "glib.h"
+ which defines the needed G_OS_WIN32
+
+ * glib/makefile.msc.in : added gprintf.obj, trio\trio.lib
+ as well as shell32.lib
+
+ * tests/spawn-test.c : include <io.h> on win32
+
2003-07-12 Matthias Clasen <maclas@gmx.de>
* glib/gprintf.c: Doc additions.
g_slist_sort
g_slist_sort_with_data
g_snprintf
- g_snprintf
g_source_add_poll
g_source_attach
g_source_destroy
g_vfprintf
g_vprintf
g_vsnprintf
- g_vsnprintf
g_vsprintf
g_win32_error_message
g_win32_ftruncate
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
-#ifdef G_OS_WIN32
-#include <io.h> /* For _read() */
-#endif
#include "glib.h"
#include "gprintfint.h"
+#ifdef G_OS_WIN32
+#include <io.h> /* For _read() */
+#endif
+
/* --- defines --- */
#define to_lower(c) ( \
(guchar) ( \
{
*token_p = G_TOKEN_FLOAT;
if (scanner->config->store_int64)
- value_p->v_float = value_p->v_int64;
+ {
+#ifdef _MSC_VER
+ /* work around error C2520, see gvaluetransform.c */
+ value_p->v_float = (__int64)value_p->v_int64;
+#else
+ value_p->v_float = value_p->v_int64;
+#endif
+ }
else
value_p->v_float = value_p->v_int;
}
all : \
..\config.h \
..\glibconfig.h \
+ trio\trio.lib \
libglib-2.0-@LT_CURRENT_MINUS_AGE@.dll \
glib-@GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@s.lib \
gspawn-win32-helper.exe \
+
+trio\trio.lib :
+ cd trio
+ nmake -f makefile.msc
+ cd ..
+
glib_OBJECTS = \
garray.obj \
gasyncqueue.obj \
gmessages.obj \
gnode.obj \
gprimes.obj \
+ gprintf.obj \
gqsort.obj \
gqueue.obj \
gpattern.obj \
+ gprintf.obj \
grand.obj \
grel.obj \
gscanner.obj \
# create a static libary
# static library can well have the real version number in the name
-glib-@GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@s.lib : $(glib_OBJECTS)
- lib /out:glib-@GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@s.lib $(glib_OBJECTS)
+glib-@GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@s.lib : $(glib_OBJECTS) trio\trio.lib
+ lib /out:glib-@GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@s.lib $(glib_OBJECTS) trio\trio.lib
libglib-2.0-@LT_CURRENT_MINUS_AGE@.dll : $(glib_OBJECTS) glib.def
- $(CC) $(CFLAGS) -LD -Fe$@ $(glib_OBJECTS) $(LIBICONV_LIBS) $(INTL_LIBS) $(DIRENT_LIBS) user32.lib advapi32.lib wsock32.lib $(LDFLAGS) /implib:glib-2.0.lib /def:glib.def
+ $(CC) $(CFLAGS) -LD -Fe$@ $(glib_OBJECTS) $(LIBICONV_LIBS) $(INTL_LIBS) \
+ trio\trio.lib $(DIRENT_LIBS) user32.lib advapi32.lib shell32.lib wsock32.lib $(LDFLAGS) /implib:glib-2.0.lib /def:glib.def
gspawn-win32-helper.exe : gspawn-win32-helper.c libglib-2.0-@LT_CURRENT_MINUS_AGE@.dll
$(CC) $(CFLAGS) -Fe$@ -DG_LOG_DOMAIN=\"gspawn-win32-helper\" gspawn-win32-helper.c glib-2.0.lib $(LDFLAGS) /subsystem:windows user32.lib
#ifdef G_OS_WIN32
#include <fcntl.h>
+#include <io.h>
#endif