2003-05-06 Earnie Boyd * configure.in (W32API_INCLUDE): Need the -I switch in the value. * mingwex/configure.in (W32API_INCLUDE): Ditto. * profile/configure.in (W32API_INCLUDE): Ditto. 2003-05-06 Earnie Boyd * configure.in (CFLAGS): Remove -D__USE_CRTIMP=1 due to possibilites of multiply defined symbols if the symbols is defined locally. E.G.: A local definition of malloc causes this problem. * configure: Regenerate. * profile/Makefile.in (W32API_INCLUDE): New variable. (ALL_CFLAGS): Use W32API_INCLUDE value. (ALL_CXXFLAGS): Ditto. (gcrt0.o gcrt1.o gcrt2.o): Use ALL_CFLAGS instead of CFLAGS. Thanks to Jeff Bonggren . * profile/configure.in (W32API_INCLUDE): Set default value. * profile/configure: Regenerate. * mingwex/Makefile.in (W32API_INCLUDE): New variable. (ALL_CFLAGS): Use W32API-INCLUDE value. (ALL_CXXFLAGS): Ditto. * mingwex/configure.in (W32API_INCLUDE): Set default value. * mingwex/configure: Regenerate. 2003-05-05 Earnie Boyd * Makefile.in (W32API_INCLUDE): New variable. (ALL_CFLAGS): Use W32API_INCLUDE value. (ALL_CXXFLAGS): Ditto. * configure.in (CFLAGS): Add -D__USE_CRTIMP=1 to default values. (W32API_INCLUDE): Set default value. * configure: Regenerate. 2003-04-11 Earnie Boyd * configure.in (LIBM_A): Define for cygwin target. * configure (LIBM_A): Ditto. 2003-04-07 Danny Smith * include/time.h (strftime): Remove duplicate declaration. 2003-04-01 Danny Smith * include/_mingw.h (_CRTIMP): Make conditional on __USE_CRTIMP. 2003-03-16 Danny Smith * mingwex/dirent.c (_topendir): Eliminate signed/unsigned warning. * mingwex/strtoimax.c (strtoimax): Likewise. * mingwex/wcstoimax.c (wcstoimax): Likewise. * mingwex/wtoll.c (wtoll): Remove unnecessary ';' * mingwex/fesentenv.c: Include float.h. * mingwex/math/powl.c: Eliminate type punning/strict aliasing warning. * mingwex/math/tanhl.c: Eliminate signed/unsigned warning in constants. * mingwex/math/tgammal.c: Likewise. 2003-03-16 Danny Smith * include/utime.h: New file, forwarding to sys/utime.h. 2003-03-16 Danny Smith * include/sys/param.h (MAXPATHLEN): Define. 2003-03-16 Danny Smith * include/tchar.h: Ansi-fy a comment. 2003-03-16 Danny Smith * profile/profile.h (mcount): Use __builtin_return_address rather than inline __asm statements. * profile/Makefile.in: Remove special rule for mcount.o Specify dependencies for mcount.o profil.o gmon.o. 2003-03-10 Danny Smith * include/stdlib.h (qsort): Remove const from first parm. Thanks to: Tien-Ren Chen 2003-03-03 Christopher Faylor * mingwex/getopt.c: Refresh from NetBSD sources. 2003-03-03 Danny Smith * mingwex/getopt.c: New file, copied from cygwin srcs. * include/getopt.h: New file, copied from cygwin srcs. * include/unistd.h: Include getopt.h. * mingwex/Makefile.in (DISTFILES): Add getopt.c. (POSIX_OBJS): Add getopt.o. 2003-03-02 Danny Smith * include/stdio.h (vscanf): Add prototype. (vfscanf): Ditto. (vsscanf): Ditto. (vwscanf): Ditto. (vfwscanf): Ditto. (vswscanf): Ditto. * include/wchar.h (vwscanf): Add prototype. (vfwscanf): Ditto. (vswscanf): Ditto. * mingwex/snprintf.c: Move to mingwex/stdio. * mingwex/vsnprintf.c: Ditto. * mingwex/snwprintf.c: Ditto. * mingwex/vsnwprintf.c: Ditto. * mingwex/Makefile.in (VPATH): Add $(srcdir)/stdio (STDIO_DISTFILES): Add. (DISTFILES): Adjust. (STDIO_STUB_OBJS): Rename to STDIO_OBJS and add v*scanf objects. (LIB_OBJS): Adjust. (dist): Adjust. 2003-03-02 Aaron W LaFramboise * mingwex/stdio: New directory * mingwex/stdio/vfscanf.c: New file. * mingwex/stdio/vfwscanf.c: New file. * mingwex/stdio/vscanf.c: New file. * mingwex/stdio/vsscanf.c: New file. * mingwex/stdio/vswscanf.c: New file. * mingwex/stdio/vwscanf.c: New file. 2003-02-25 Earnie Boyd * Makefile.in (libmsvcrt20.a): Remove target and dependencies. (libmsvcrt40.a): Ditto. 2003-02-21 Earnie Boyd Thanks to David Frasier who inspired portions of this patch. * Makefile.in (libmsvcrtd.a): Add target library. (libmoldnamed.a): Ditto. (msvcrt.def, msvcrtd.def, msvcrt20.def, msvcrt40.def): Use msvcrt.def.in template to create. ($(srcdir)): Remove explicit reference for depencies of object targets. * moldname.def, moldname-msvcrt.def, moldname-crtdll.def, msvcrt.def, msvcrt20.def, msvcrt40.def: Remove. * msvcrt.def.in: New file (Copy of previous msvcrt.def). 2003-02-20 Corinna Vinschen * Makefile.in: Make sure libmingwex.a from current build tree is used. 2003-02-14 Christopher Faylor * profile/Makefile.in (mcount.o): Use ALL_CFLAGS for compilation to ensure -mno-cygwin where appropriate. Filter out -O2. 2003-02-13 Danny Smith * profile/Makefile.in (mcount.o): Use -O1 optimization switch to compile. 2003-02-10 Danny Smith * include/math.h: Remove _CRTIMP from pow() prototype, unless __NO_ISOCEXT. 2003-02-10 Danny Smith * mingwex/math/cephes_emath.h: Don't redefine INFINITY. 2003-02-10 Danny Smith * include/_mingw.h (_CRTIMP): Define for __GNUC__ if __declspec(dllimport) supported. (__cdecl): Define if not already defined. (__stdcall): Likewise. * include/dirent.h: Qualify fuctions with __cdecl. * include/fenv.h: Likewise. * include/inttypes.h: Likewise. * include/assert.h: Qualify fuctions with __cdecl. Qualify CRT dll imports with _CRTIMP. * include/conio.h: Likewise. * include/ctype.h: Likewise. * include/direct.h: Likewise. * include/dos.h: Likewise. * include/errno.h: Likewise. * include/float.h: Likewise. * include/io.h: Likewise. * include/locale.h: Likewise. * include/malloc.h: Likewise. * include/math.h: Likewise. * include/mbctype.h: Likewise. * include/mbstring.h: Likewise. * include/process.h: Likewise. * include/setjmp.h: Likewise. * include/signal.h: Likewise. * include/stdio.h: Likewise. * include/stdlib.h: Likewise. * include/string.h: Likewise. * include/time.h: Likewise. * include/wchar.h: Likewise. * include/wctype.h: Likewise. * include/sys/stat.h: Likewise. * include/sys/timeb.h: Likewise. * include/sys/utime.h: Likewise. * include/ctype.h: Guard ctype inlines with __NO_INLINE__. * include/wctype.h: Guard wctype inlines with __NO_INLINE__. * include/stdio.h (__VALIST): Guard against prior definition.