OSDN Git Service

Incorporate build system updates from w32api package.
[mingw/mingw-org-wsl.git] / mingwrt / ChangeLog
index ced6660..5737cab 100644 (file)
@@ -1,3 +1,159 @@
+2015-07-16  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       Incorporate build system updates from w32api package.
+
+       * Makefile.in (NTDDI_VERSION): Set default to NTDDI_WINNT4.
+       (mkinstalldirs, INSTALL_DATA): Reimplement to support $(call ...)
+       (install-strip, uninstall): New make command goals; implement them.
+       (mingwrt-dist-staged): Use 'install-strip' in this rule; hence...
+       (devdist, dlldist): ...these have no need to strip explicitly.
+       (INSTALL_SUB_HEADERS): New macro; implement it, and use it...
+       (install-mingwrt-headers): ...here.
+
+2015-07-14  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       Adapt platform feature checks to NTDDI_VERSION conventions.
+
+       * include/_mingw.h: Assert copyright; include w32api.h
+       (UNICODE, _UNICODE): Factor out consistency checks; relocate them
+       to w32api/include/w32api.h, whence they remain in effect.
+       (_EXTERN_C, _BEGIN_C_DECLS, _END_C_DECLS): Likewise.
+
+2015-07-14  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       Correct mismatched #if/#endif from preceding commit.
+
+       * include/_mingw.h (#pragma GCC system_header)
+       [__GNUC__ >= 3 && ! defined __PCC__]: Merge these conditions, thus
+       correcting for inadvertent removal of matching #endif introduced by
+       preceding 2015-06-19 commit.
+
+2015-06-19  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       Define symbolic names for alternative Microsoft runtime DLLs.
+
+       * include/msvcrtver.h: New file; it assigns a value for...
+       (__MSVCRT_VERSION__): ...this, making its default equivalent to...
+       (__MSVCR60_DLL): ...this new manifest constant, with each of...
+       (__MSVCR61_DLL, __MSVCR70_DLL, __MSVCR71_DLL, __MSVCR80_DLL)
+       (__MSVCR90_DLL, __MSVCR100_DLL, __MSVCR110_DLL, __MSVCR120_DLL):
+       ...these also defined, as user assignable alternatives.
+
+       * include/_mingw.h (__MSVCRT_VERSION__): Use include/msvcrtver.h
+       to establish its default value.
+
+2015-06-18  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       Track dependencies on modified system header files.
+
+       * Makefile.in (DEPFLAGS): Use -MD, rather than -MMD.
+
+2015-06-18  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       Correct an anomaly in stage 1 only build procedure.
+
+       * Makefile.in (all-gcc): New goal; it is an alias for...
+       (all-mingwrt-stage-1): ...this, renamed to match configure, as...
+       (all-mingwrt-stage-1-only): ...this; upate all references.
+       (active-goals): Adjusted accordingly; it now reguires...
+       (all-deprecated-mingwrt-stage-1-only): ...this new goal.
+       (install): Adjusted, as directed by...
+       (DEFAULT_MAKECMDGOALS): ...this.
+
+2015-06-13  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       Prefer our hypot() implementation in complex maths operations.
+
+       * mingwex/complex/cabs_generic.c: New file; it replaces...
+       * mingwex/complex/cabs.c mingwex/complex/cabsf.c: ...all of...
+       * mingwex/complex/cabsl.c: ...these.
+
+       * mingwex/complex/catan_generic.c: New file; it replaces...
+       * mingwex/complex/catan.c mingwex/complex/catanf.c: ...all of...
+       * mingwex/complex/catanl.c: ...these.
+
+       * mingwex/complex/clog_generic.c: New file; it replaces...
+       * mingwex/complex/clog.c mingwex/complex/clogf.c: ...all of...
+       * mingwex/complex/clogl.c: ...these.
+
+       * mingwex/complex/cpow_generic.c: New file; it replaces...
+       * mingwex/complex/cpow.c mingwex/complex/cpowf.c: ...all of...
+       * mingwex/complex/cpowl.c: ...these.
+
+       * mingwex/complex/csqrt_generic.c: Do not use...
+       (_hypot): ...this Microsoft form of function reference; use...
+       (hypot): ...this ANSI standard form instead.
+
+2015-06-10  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       Correct C++ compilation anomaly with hypotf() in cmath header.
+
+       * include/math.h: Add copyright notice; generally tidy layout.
+       (_BEGIN_C_DECLS, _END_C_DECLS): Use to wrap extern "C" declarations.
+       (hypotf): Delete inline implementation; it did not properly handle
+       range errors, and was uncompilable with optimization when any g++
+       option implying __STRICT_ANSI__ conformity was specified.
+       (_MATH_H_): Rename this multiple inclusion guard...
+       (_MATH_H): ...to this.
+
+       * mingwex/math/hypot_generic.c: New file; it implements...
+       (hypot, hypotf, hypotl): ...these; use the latter pair in place of...
+       * mingwex/math/hypotf.c mingwex/math/hypotl.c: ...these; delete them.
+
+2015-06-08  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       Prepare and tag all files for release of mingwrt-3.21.1.
+
+       * configure.ac (AC_INIT): Adjust package version argument.
+       * include/_mingw.h (__MINGW32_PATCHLEVEL): Increment to 1, and...
+       (__MINGW32_VERSION): ...increment this to match.
+
+2015-05-18  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       Refactor to avoid possible time_t conflicts across headers.
+
+       * include/parts/time.h (struct timespec): Make it more descriptive of,
+       and better able to accommodate, potential ambiguity relating to...
+       (time_t, __time32_t, __time64_t): ...these typedefs; define them here,
+       whence they may be identically imported into each of...
+       * include/sys/types.h include/time.h include/wchar.h: these; delete
+       duplicate typedefs, and import accordingly.
+
+       * include/sys/types.h: Add licence; general comment additions.
+       (_TYPES_H_): Rename multiple inclusion guard macro...
+       (_SYS_TYPES_H): ...to this.
+
+       * include/time.h: Add licence; general comment/layout adjustments.
+       (_BEGIN_C_DECLS, _END_C_DECLS): Use to wrap extern "C" declarations.
+       (_TIME_T_DEFINED, _TIME32_T_DEFINED, _TIME64_T_DEFINED)
+       (_CLOCK_T_DEFINED): Superfluous guard macros; delete them.
+       (_TIME_H_): Rename multiple inclusion guard macro...
+       (_TIME_H): ...to this.
+
+       * include/unistd.h (nanosleep): Adjust to accommodate redefinition...
+       (struct timespec): ...of this.
+
+       * include/wchar.h: Add licence; general comment/layout adjustments.
+       (_BEGIN_C_DECLS, _END_C_DECLS): Use to wrap extern "C" declarations.
+       [GCC] (system_header): Add pragma, identifying header as such.
+       (_WCHAR_H_): Rename multiple inclusion guard macro...
+       (_WCHAR_H): ...to this.
+
+2015-05-09  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       Remove obsolete varargs.h header file.
+
+       * include/varargs.h: Delete it; it was a mostly redundant wrapper for
+       a GCC header which is no longer supported, and was always intended for
+       ultimate removal; now is the long overdue time to do so.
+
+2015-05-08  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       Correct improper unistd.h function attribute declarations.
+
+       * include/unistd.h (_cdecl): Correct usage throughout; should be...
+       (__cdecl): ...this.
+
 2015-03-12  Keith Marshall  <keithmarshall@users.sourceforge.net>
 
        Fix GLOB_DOOFFS initialization bug.
 
 2005-02-11  Gregory W. Chicares  <chicares@cox.net>
 
-       * include/math.h (expm1, expm1f, expmll): Add prototypes.
+       * include/math.h (expm1, expm1f, expm1l): Add prototypes.
        * mingwex/Makefile.in (MATH_DISTFILES): Add expm1.c,
        expm1f.c, expm1l.c.
        (MATH_OBJS): Add expm1.o, expm1f.o, expm1l.o.
        mingwex/math.
        Adjust MATH_OBJS.
        Add MATH_DISTFILES and use it to build source distro.
-       * include/ math.h: Add protypes for new functions and
+       * include/math.h: Add protypes for new functions and
        reorganise to reflect ANSI,C99 status.
 
 2002-06-19  Danny Smith  <dannysmith@users.sourceforge.net>