summaryrefslogtreecommitdiffstats
path: root/generic/tclOOStubInit.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2010-04-26 13:32:27 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2010-04-26 13:32:27 (GMT)
commitf49dacd43520f86a548ed97f21b8fbd24c016153 (patch)
treebeae9fa3d62ee64084d9bbaa609e5c4c61fde8a5 /generic/tclOOStubInit.c
parent645ae6e948ae08dfa895b2c01c79119733011da6 (diff)
downloadtcl-f49dacd43520f86a548ed97f21b8fbd24c016153.zip
tcl-f49dacd43520f86a548ed97f21b8fbd24c016153.tar.gz
tcl-f49dacd43520f86a548ed97f21b8fbd24c016153.tar.bz2
* 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.
Diffstat (limited to 'generic/tclOOStubInit.c')
-rw-r--r--generic/tclOOStubInit.c6
1 files changed, 5 insertions, 1 deletions
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 = {