From f49dacd43520f86a548ed97f21b8fbd24c016153 Mon Sep 17 00:00:00 2001 From: dkf Date: Mon, 26 Apr 2010 13:32:27 +0000 Subject: * generic/tclStubInit.c: Add a small amount of gcc-isms (with #ifdef * generic/tclOOStubInit.c: guards) to ensure that warnings are issued when these files are older than the various *.decls files. --- ChangeLog | 19 +++++++++++++------ generic/tclOOStubInit.c | 6 +++++- generic/tclStubInit.c | 8 +++++++- 3 files changed, 25 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6e07a11..e8017cc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,18 +1,25 @@ +2010-04-26 Donal K. Fellows + + * generic/tclStubInit.c: Add a small amount of gcc-isms (with #ifdef + * generic/tclOOStubInit.c: guards) to ensure that warnings are issued + when these files are older than the various *.decls files. + 2010-04-25 Miguel Sofer - * generic/tclBasic.c: add unsupported [yieldm] command. + * generic/tclBasic.c: Add unsupported [yieldm] command. * generic/tclInt.h: 2010-04-24 Miguel Sofer - * generic/tclBasic.c: modify api of TclSpliceTailcall() - * generic/tclExecute.c: to fix yieldTo, which had not survived - * generic/tclInt.h: the latest mods to tailcall. Thanks kbk - for detecting the problem. + * generic/tclBasic.c: Modify api of TclSpliceTailcall() to fix + * generic/tclExecute.c: yieldTo, which had not survived the latest + * generic/tclInt.h: mods to tailcall. Thanks kbk for detecting + the problem. 2010-04-23 Jan Nijtmans - * unix/tclUnixPort.h Fix [Bug #2991415] tclport.h #included before limits.h + * unix/tclUnixPort.h: [Bug 2991415]: tclport.h #included before + limits.h 2010-04-22 Jan Nijtmans diff --git a/generic/tclOOStubInit.c b/generic/tclOOStubInit.c index d83c719..bb46abb 100644 --- a/generic/tclOOStubInit.c +++ b/generic/tclOOStubInit.c @@ -1,5 +1,5 @@ /* - * $Id: tclOOStubInit.c,v 1.10 2010/02/15 22:56:20 nijtmans Exp $ + * $Id: tclOOStubInit.c,v 1.11 2010/04/26 13:32:33 dkf Exp $ * * This file is (mostly) automatically generated from tclOO.decls. * It is compiled and linked in with the tclOO package proper. @@ -12,6 +12,10 @@ MODULE_SCOPE const TclOOStubs tclOOStubs; +#ifdef __GNUC__ +#pragma GCC dependency "tclOO.decls" +#endif + /* !BEGIN!: Do not edit below this line. */ static const TclOOIntStubs tclOOIntStubs = { diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c index 7cfa58a..d27f626 100644 --- a/generic/tclStubInit.c +++ b/generic/tclStubInit.c @@ -8,12 +8,18 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclStubInit.c,v 1.190 2010/04/02 21:21:06 kennykb Exp $ + * RCS: @(#) $Id: tclStubInit.c,v 1.191 2010/04/26 13:32:33 dkf Exp $ */ #include "tclInt.h" #include "tommath.h" +#ifdef __GNUC__ +#pragma GCC dependency "tcl.decls" +#pragma GCC dependency "tclInt.decls" +#pragma GCC dependency "tclTomMath.decls" +#endif + /* * Remove macros that will interfere with the definitions below. */ -- cgit v0.12