pspp-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-cvs] pspp ./ChangeLog ./pref.h.orig src/ChangeLog sr...


From: Ben Pfaff
Subject: [Pspp-cvs] pspp ./ChangeLog ./pref.h.orig src/ChangeLog sr...
Date: Sat, 04 Mar 2006 21:00:39 +0000

CVSROOT:        /cvsroot/pspp
Module name:    pspp
Branch:         
Changes by:     Ben Pfaff <address@hidden>      06/03/04 21:00:39

Modified files:
        .              : ChangeLog pref.h.orig 
        src            : ChangeLog 
        src/data       : casefile.c data-in.c dictionary.c 
                         file-handle-def.c format.c por-file-reader.c 
                         sfm-private.h sys-file-reader.c value-labels.c 
                         variable.c 
        src/language   : command.c 
        src/language/control: control-stack.c do-if.c loop.c 
        src/language/data-io: data-list.c file-type.c get.c inpt-pgm.c 
                              list.q matrix-data.c print.c 
        src/language/dictionary: modify-variables.c 
        src/language/expressions: helpers.h 
        src/language/lexer: q2c.c 
        src/language/stats: autorecode.c correlations.q crosstabs.q 
                            descriptives.c examine.q frequencies.q 
                            oneway.q rank.q regression.q t-test.q 
        src/language/utilities: set.q 
        src/language/xforms: count.c recode.c sample.c 
        src/libpspp    : ChangeLog hash.c message.h pool.h str.h 
        src/math       : group.c percentiles.c 
        src/output     : ascii.c groff-font.c html.c postscript.c 
                         table.c 
        src/output/charts: cartesian.c dummy-chart.c 
        src/ui/terminal: main.c 
Added files:
        src/libpspp    : compiler.h 

Log message:
        Move GCC attribute declarations from pref.h.orig to new file
        src/libpspp/compiler.h.
        
        In many source files, #include "compiler.h" to get GCC attribute
        definitions.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/ChangeLog.diff?tr1=1.44&tr2=1.45&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/pref.h.orig.diff?tr1=1.10&tr2=1.11&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/ChangeLog.diff?tr1=1.265&tr2=1.266&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/data/casefile.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/data/data-in.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/data/dictionary.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/data/file-handle-def.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/data/format.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/data/por-file-reader.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/data/sfm-private.h.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/data/sys-file-reader.c.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/data/value-labels.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/data/variable.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/command.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/control/control-stack.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/control/do-if.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/control/loop.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/data-io/data-list.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/data-io/file-type.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/data-io/get.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/data-io/inpt-pgm.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/data-io/list.q.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/data-io/matrix-data.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/data-io/print.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/dictionary/modify-variables.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/expressions/helpers.h.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/lexer/q2c.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/stats/autorecode.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/stats/correlations.q.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/stats/crosstabs.q.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/stats/descriptives.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/stats/examine.q.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/stats/frequencies.q.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/stats/oneway.q.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/stats/rank.q.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/stats/regression.q.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/stats/t-test.q.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/utilities/set.q.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/xforms/count.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/xforms/recode.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/language/xforms/sample.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/libpspp/ChangeLog.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/libpspp/compiler.h?rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/libpspp/hash.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/libpspp/message.h.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/libpspp/pool.h.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/libpspp/str.h.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/math/group.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/math/percentiles.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/output/ascii.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/output/groff-font.c.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/output/html.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/output/postscript.c.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/output/table.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/output/charts/cartesian.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/output/charts/dummy-chart.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/ui/terminal/main.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text

Patches:
Index: pspp/ChangeLog
diff -u pspp/ChangeLog:1.44 pspp/ChangeLog:1.45
--- pspp/ChangeLog:1.44 Sat Mar  4 20:38:51 2006
+++ pspp/ChangeLog      Sat Mar  4 21:00:38 2006
@@ -1,3 +1,8 @@
+Sat Mar  4 12:58:34 2006  Ben Pfaff  <address@hidden>
+
+       * pref.h.orig: Move GCC attribute declarations to
+       new file src/libpspp/compiler.h.
+
 Sat Mar  4 12:27:06 2006  Ben Pfaff  <address@hidden>
 
        * Smake: Require "intprops" gnulib module.
Index: pspp/pref.h.orig
diff -u pspp/pref.h.orig:1.10 pspp/pref.h.orig:1.11
--- pspp/pref.h.orig:1.10       Sat Mar  4 00:28:15 2006
+++ pspp/pref.h.orig    Sat Mar  4 21:00:38 2006
@@ -1,8 +1,5 @@
 /* -*- C -*- */
 
-/* Used by separable libraries to enable PSPP-specific features. */
-#define PSPP 1
-
 /*
  *
  * Debugging
@@ -19,43 +16,6 @@
 #if !HAVE_LIBPLOT
 #define NO_CHARTS 1
 #endif
-
-/* Define these if DEBUGGING is off and you want to make certain
-   additional optimizations. */
-#if !DEBUGGING
-/* #define NDEBUG 1 */                 /* disable assert() sanity checks */
-#endif
-
-/* Compilers. */
-
-/* Use proper keywords. */
-#if __GNUC__ > 1 && !defined (inline)
-#define inline __inline__
-#endif
-
-/* GNU C allows the programmer to declare that certain functions take
-   printf-like arguments, never return, etc.  Conditionalize these
-   declarations on whether gcc is in use. */
-#if __GNUC__ > 1
-#define ATTRIBUTE(X) __attribute__ (X)
-
-/* Only necessary because of a wart in gnulib's xalloc.h. */
-#define __attribute__(X) __attribute__ (X)
-#else
-#define ATTRIBUTE(X)
-#endif
-
-#define UNUSED ATTRIBUTE ((unused))
-#define NO_RETURN ATTRIBUTE ((noreturn))
-#define PRINTF_FORMAT(FMT, FIRST) ATTRIBUTE ((format (printf, FMT, FIRST)))
-#define SCANF_FORMAT(FMT, FIRST) ATTRIBUTE ((format (scanf, FMT, FIRST)))
-
-/* This attribute was added late in the GCC 2.x cycle. */
-#if __GNUC__ > 2
-#define MALLOC_LIKE ATTRIBUTE ((malloc))
-#else
-#define MALLOC_LIKE
-#endif
 
 /* Filesystems. */
 
Index: pspp/src/ChangeLog
diff -u pspp/src/ChangeLog:1.265 pspp/src/ChangeLog:1.266
--- pspp/src/ChangeLog:1.265    Sat Mar  4 20:38:51 2006
+++ pspp/src/ChangeLog  Sat Mar  4 21:00:38 2006
@@ -1,3 +1,8 @@
+Sat Mar  4 12:59:08 2006  Ben Pfaff  <address@hidden>
+
+       * In many source files, #include "compiler.h" to get GCC attribute
+       definitions.
+
 Sat Mar  4 12:28:09 2006  Ben Pfaff  <address@hidden>
 
        * In many source files, replace INT_DIGITS by
Index: pspp/src/data/casefile.c
diff -u pspp/src/data/casefile.c:1.1 pspp/src/data/casefile.c:1.2
--- pspp/src/data/casefile.c:1.1        Sat Mar  4 01:11:57 2006
+++ pspp/src/data/casefile.c    Sat Mar  4 21:00:38 2006
@@ -28,6 +28,7 @@
 #include <unistd.h>
 #include "alloc.h"
 #include "case.h"
+#include "compiler.h"
 #include "message.h"
 #include "full-read.h"
 #include "full-write.h"
Index: pspp/src/data/data-in.c
diff -u pspp/src/data/data-in.c:1.1 pspp/src/data/data-in.c:1.2
--- pspp/src/data/data-in.c:1.1 Sat Mar  4 01:11:57 2006
+++ pspp/src/data/data-in.c     Sat Mar  4 21:00:38 2006
@@ -29,6 +29,7 @@
 #include <stdbool.h>
 #include "message.h"
 #include "calendar.h"
+#include "compiler.h"
 #include "identifier.h"
 #include "magic.h"
 #include "misc.h"
Index: pspp/src/data/dictionary.c
diff -u pspp/src/data/dictionary.c:1.1 pspp/src/data/dictionary.c:1.2
--- pspp/src/data/dictionary.c:1.1      Sat Mar  4 01:11:57 2006
+++ pspp/src/data/dictionary.c  Sat Mar  4 21:00:38 2006
@@ -26,6 +26,7 @@
 #include "case.h"
 #include "category.h"
 #include "cat-routines.h"
+#include "compiler.h"
 #include "message.h"
 #include "hash.h"
 #include "misc.h"
Index: pspp/src/data/file-handle-def.c
diff -u pspp/src/data/file-handle-def.c:1.1 pspp/src/data/file-handle-def.c:1.2
--- pspp/src/data/file-handle-def.c:1.1 Sat Mar  4 01:11:57 2006
+++ pspp/src/data/file-handle-def.c     Sat Mar  4 21:00:38 2006
@@ -24,6 +24,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include "alloc.h"
+#include "compiler.h"
 #include "filename.h"
 #include "message.h"
 #include "magic.h"
Index: pspp/src/data/format.c
diff -u pspp/src/data/format.c:1.1 pspp/src/data/format.c:1.2
--- pspp/src/data/format.c:1.1  Sat Mar  4 01:11:57 2006
+++ pspp/src/data/format.c      Sat Mar  4 21:00:38 2006
@@ -22,6 +22,7 @@
 #include <ctype.h>
 #include "message.h"
 #include <stdlib.h>
+#include "compiler.h"
 #include "misc.h"
 #include "identifier.h"
 #include "str.h"
Index: pspp/src/data/por-file-reader.c
diff -u pspp/src/data/por-file-reader.c:1.1 pspp/src/data/por-file-reader.c:1.2
--- pspp/src/data/por-file-reader.c:1.1 Sat Mar  4 01:11:57 2006
+++ pspp/src/data/por-file-reader.c     Sat Mar  4 21:00:38 2006
@@ -32,6 +32,7 @@
 #include "alloc.h"
 #include <stdbool.h>
 #include "case.h"
+#include "compiler.h"
 #include "dictionary.h"
 #include "file-handle-def.h"
 #include "format.h"
Index: pspp/src/data/sfm-private.h
diff -u pspp/src/data/sfm-private.h:1.1 pspp/src/data/sfm-private.h:1.2
--- pspp/src/data/sfm-private.h:1.1     Sat Mar  4 01:11:57 2006
+++ pspp/src/data/sfm-private.h Sat Mar  4 21:00:38 2006
@@ -20,6 +20,8 @@
 /* PORTME: There might easily be alignment problems with some of these
    structures. */
 
+#include "compiler.h"
+
 /* This attribute might avoid some problems.  On the other hand... */
 #define P ATTRIBUTE ((packed))
 
Index: pspp/src/data/sys-file-reader.c
diff -u pspp/src/data/sys-file-reader.c:1.2 pspp/src/data/sys-file-reader.c:1.3
--- pspp/src/data/sys-file-reader.c:1.2 Sat Mar  4 05:01:06 2006
+++ pspp/src/data/sys-file-reader.c     Sat Mar  4 21:00:38 2006
@@ -28,6 +28,7 @@
 #include <setjmp.h>
 #include "alloc.h"
 #include "case.h"
+#include "compiler.h"
 #include "dictionary.h"
 #include "message.h"
 #include "file-handle-def.h"
Index: pspp/src/data/value-labels.c
diff -u pspp/src/data/value-labels.c:1.1 pspp/src/data/value-labels.c:1.2
--- pspp/src/data/value-labels.c:1.1    Sat Mar  4 01:11:57 2006
+++ pspp/src/data/value-labels.c        Sat Mar  4 21:00:38 2006
@@ -22,6 +22,7 @@
 #include "message.h"
 #include <stdlib.h>
 #include "alloc.h"
+#include "compiler.h"
 #include "hash.h"
 #include "str.h"
 
Index: pspp/src/data/variable.c
diff -u pspp/src/data/variable.c:1.1 pspp/src/data/variable.c:1.2
--- pspp/src/data/variable.c:1.1        Sat Mar  4 01:11:57 2006
+++ pspp/src/data/variable.c    Sat Mar  4 21:00:38 2006
@@ -22,6 +22,7 @@
 #include "message.h"
 #include <stdlib.h>
 #include "alloc.h"
+#include "compiler.h"
 #include "dictionary.h"
 #include "hash.h"
 #include "identifier.h"
Index: pspp/src/language/command.c
diff -u pspp/src/language/command.c:1.1 pspp/src/language/command.c:1.2
--- pspp/src/language/command.c:1.1     Sat Mar  4 01:11:57 2006
+++ pspp/src/language/command.c Sat Mar  4 21:00:38 2006
@@ -25,6 +25,7 @@
 #include <ctype.h>
 #include <errno.h>
 #include "alloc.h"
+#include "compiler.h"
 #include "dictionary.h"
 #include "message.h"
 #include "lexer.h"
Index: pspp/src/language/control/control-stack.c
diff -u pspp/src/language/control/control-stack.c:1.1 
pspp/src/language/control/control-stack.c:1.2
--- pspp/src/language/control/control-stack.c:1.1       Sat Mar  4 01:11:57 2006
+++ pspp/src/language/control/control-stack.c   Sat Mar  4 21:00:38 2006
@@ -2,6 +2,7 @@
 #include "control-stack.h"
 #include <assert.h>
 #include <stdlib.h>
+#include "compiler.h"
 #include "message.h"
 #include "xalloc.h"
 
Index: pspp/src/language/control/do-if.c
diff -u pspp/src/language/control/do-if.c:1.1 
pspp/src/language/control/do-if.c:1.2
--- pspp/src/language/control/do-if.c:1.1       Sat Mar  4 01:11:57 2006
+++ pspp/src/language/control/do-if.c   Sat Mar  4 21:00:38 2006
@@ -23,6 +23,7 @@
 #include <stdlib.h>
 #include "alloc.h"
 #include "command.h"
+#include "compiler.h"
 #include "message.h"
 #include "expressions/public.h"
 #include "lexer.h"
Index: pspp/src/language/control/loop.c
diff -u pspp/src/language/control/loop.c:1.1 
pspp/src/language/control/loop.c:1.2
--- pspp/src/language/control/loop.c:1.1        Sat Mar  4 01:11:57 2006
+++ pspp/src/language/control/loop.c    Sat Mar  4 21:00:38 2006
@@ -22,6 +22,7 @@
 #include "alloc.h"
 #include "case.h"
 #include "command.h"
+#include "compiler.h"
 #include "dictionary.h"
 #include "control-stack.h"
 #include "message.h"
Index: pspp/src/language/data-io/data-list.c
diff -u pspp/src/language/data-io/data-list.c:1.1 
pspp/src/language/data-io/data-list.c:1.2
--- pspp/src/language/data-io/data-list.c:1.1   Sat Mar  4 01:11:57 2006
+++ pspp/src/language/data-io/data-list.c       Sat Mar  4 21:00:38 2006
@@ -27,6 +27,7 @@
 #include "alloc.h"
 #include "case.h"
 #include "command.h"
+#include "compiler.h"
 #include "data-in.h"
 #include "debug-print.h"
 #include "data-reader.h"
Index: pspp/src/language/data-io/file-type.c
diff -u pspp/src/language/data-io/file-type.c:1.1 
pspp/src/language/data-io/file-type.c:1.2
--- pspp/src/language/data-io/file-type.c:1.1   Sat Mar  4 01:11:57 2006
+++ pspp/src/language/data-io/file-type.c       Sat Mar  4 21:00:38 2006
@@ -22,6 +22,7 @@
 #include "alloc.h"
 #include "case.h"
 #include "command.h"
+#include "compiler.h"
 #include "data-in.h"
 #include "data-reader.h"
 #include "dictionary.h"
Index: pspp/src/language/data-io/get.c
diff -u pspp/src/language/data-io/get.c:1.1 pspp/src/language/data-io/get.c:1.2
--- pspp/src/language/data-io/get.c:1.1 Sat Mar  4 01:11:57 2006
+++ pspp/src/language/data-io/get.c     Sat Mar  4 21:00:38 2006
@@ -25,6 +25,7 @@
 #include "any-writer.h"
 #include "case.h"
 #include "command.h"
+#include "compiler.h"
 #include "dictionary.h"
 #include "message.h"
 #include "file-handle.h"
Index: pspp/src/language/data-io/inpt-pgm.c
diff -u pspp/src/language/data-io/inpt-pgm.c:1.1 
pspp/src/language/data-io/inpt-pgm.c:1.2
--- pspp/src/language/data-io/inpt-pgm.c:1.1    Sat Mar  4 01:11:57 2006
+++ pspp/src/language/data-io/inpt-pgm.c        Sat Mar  4 21:00:38 2006
@@ -24,6 +24,7 @@
 #include "alloc.h"
 #include "case.h"
 #include "command.h"
+#include "compiler.h"
 #include "data-list.h"
 #include "data-reader.h"
 #include "dictionary.h"
Index: pspp/src/language/data-io/list.q
diff -u pspp/src/language/data-io/list.q:1.2 
pspp/src/language/data-io/list.q:1.3
--- pspp/src/language/data-io/list.q:1.2        Sat Mar  4 20:38:51 2006
+++ pspp/src/language/data-io/list.q    Sat Mar  4 21:00:38 2006
@@ -24,6 +24,7 @@
 #include "alloc.h"
 #include "case.h"
 #include "command.h"
+#include "compiler.h"
 #include "dictionary.h"
 #include "intprops.h"
 #include "lexer.h"
Index: pspp/src/language/data-io/matrix-data.c
diff -u pspp/src/language/data-io/matrix-data.c:1.1 
pspp/src/language/data-io/matrix-data.c:1.2
--- pspp/src/language/data-io/matrix-data.c:1.1 Sat Mar  4 01:11:57 2006
+++ pspp/src/language/data-io/matrix-data.c     Sat Mar  4 21:00:38 2006
@@ -26,6 +26,7 @@
 #include "alloc.h"
 #include "case.h"
 #include "command.h"
+#include "compiler.h"
 #include "data-in.h"
 #include "data-reader.h"
 #include "dictionary.h"
Index: pspp/src/language/data-io/print.c
diff -u pspp/src/language/data-io/print.c:1.1 
pspp/src/language/data-io/print.c:1.2
--- pspp/src/language/data-io/print.c:1.1       Sat Mar  4 01:11:57 2006
+++ pspp/src/language/data-io/print.c   Sat Mar  4 21:00:38 2006
@@ -25,6 +25,7 @@
 #include "alloc.h"
 #include "case.h"
 #include "command.h"
+#include "compiler.h"
 #include "data-writer.h"
 #include "message.h"
 #include "expressions/public.h"
Index: pspp/src/language/dictionary/modify-variables.c
diff -u pspp/src/language/dictionary/modify-variables.c:1.1 
pspp/src/language/dictionary/modify-variables.c:1.2
--- pspp/src/language/dictionary/modify-variables.c:1.1 Sat Mar  4 01:11:57 2006
+++ pspp/src/language/dictionary/modify-variables.c     Sat Mar  4 21:00:38 2006
@@ -24,6 +24,7 @@
 #include "alloc.h"
 #include "bit-vector.h"
 #include "command.h"
+#include "compiler.h"
 #include "dictionary.h"
 #include "message.h"
 #include "hash.h"
Index: pspp/src/language/expressions/helpers.h
diff -u pspp/src/language/expressions/helpers.h:1.1 
pspp/src/language/expressions/helpers.h:1.2
--- pspp/src/language/expressions/helpers.h:1.1 Sat Mar  4 01:11:57 2006
+++ pspp/src/language/expressions/helpers.h     Sat Mar  4 21:00:38 2006
@@ -10,6 +10,7 @@
 #include <math.h>
 #include <stdbool.h>
 #include "case.h"
+#include "compiler.h"
 #include "data-in.h"
 #include "dictionary.h"
 #include "message.h"
Index: pspp/src/language/lexer/q2c.c
diff -u pspp/src/language/lexer/q2c.c:1.1 pspp/src/language/lexer/q2c.c:1.2
--- pspp/src/language/lexer/q2c.c:1.1   Sat Mar  4 01:11:57 2006
+++ pspp/src/language/lexer/q2c.c       Sat Mar  4 21:00:38 2006
@@ -28,6 +28,7 @@
 #if HAVE_UNISTD_H
 #include <unistd.h>
 #endif
+#include "compiler.h"
 #include "str.h"
 
 
Index: pspp/src/language/stats/autorecode.c
diff -u pspp/src/language/stats/autorecode.c:1.1 
pspp/src/language/stats/autorecode.c:1.2
--- pspp/src/language/stats/autorecode.c:1.1    Sat Mar  4 01:11:57 2006
+++ pspp/src/language/stats/autorecode.c        Sat Mar  4 21:00:38 2006
@@ -23,6 +23,7 @@
 #include "alloc.h"
 #include "case.h"
 #include "command.h"
+#include "compiler.h"
 #include "dictionary.h"
 #include "message.h"
 #include "hash.h"
Index: pspp/src/language/stats/correlations.q
diff -u pspp/src/language/stats/correlations.q:1.1 
pspp/src/language/stats/correlations.q:1.2
--- pspp/src/language/stats/correlations.q:1.1  Sat Mar  4 01:11:57 2006
+++ pspp/src/language/stats/correlations.q      Sat Mar  4 21:00:38 2006
@@ -20,6 +20,7 @@
 #include <config.h>
 #include <stdlib.h>
 #include "alloc.h"
+#include "compiler.h"
 #include "dictionary.h"
 #include "file-handle-def.h"
 #include "command.h"
Index: pspp/src/language/stats/crosstabs.q
diff -u pspp/src/language/stats/crosstabs.q:1.1 
pspp/src/language/stats/crosstabs.q:1.2
--- pspp/src/language/stats/crosstabs.q:1.1     Sat Mar  4 01:11:57 2006
+++ pspp/src/language/stats/crosstabs.q Sat Mar  4 21:00:38 2006
@@ -42,6 +42,7 @@
 #include "hash.h"
 #include "pool.h"
 #include "command.h"
+#include "compiler.h"
 #include "lexer.h"
 #include "message.h"
 #include "magic.h"
Index: pspp/src/language/stats/descriptives.c
diff -u pspp/src/language/stats/descriptives.c:1.1 
pspp/src/language/stats/descriptives.c:1.2
--- pspp/src/language/stats/descriptives.c:1.1  Sat Mar  4 01:11:57 2006
+++ pspp/src/language/stats/descriptives.c      Sat Mar  4 21:00:38 2006
@@ -29,6 +29,7 @@
 #include "case.h"
 #include "casefile.h"
 #include "command.h"
+#include "compiler.h"
 #include "dictionary.h"
 #include "lexer.h"
 #include "message.h"
Index: pspp/src/language/stats/examine.q
diff -u pspp/src/language/stats/examine.q:1.1 
pspp/src/language/stats/examine.q:1.2
--- pspp/src/language/stats/examine.q:1.1       Sat Mar  4 01:11:57 2006
+++ pspp/src/language/stats/examine.q   Sat Mar  4 21:00:38 2006
@@ -29,6 +29,7 @@
 #include "case.h"
 #include "dictionary.h"
 #include "command.h"
+#include "compiler.h"
 #include "lexer.h"
 #include "message.h"
 #include "magic.h"
Index: pspp/src/language/stats/frequencies.q
diff -u pspp/src/language/stats/frequencies.q:1.1 
pspp/src/language/stats/frequencies.q:1.2
--- pspp/src/language/stats/frequencies.q:1.1   Sat Mar  4 01:11:57 2006
+++ pspp/src/language/stats/frequencies.q       Sat Mar  4 21:00:38 2006
@@ -32,6 +32,7 @@
 #include "alloc.h"
 #include "bit-vector.h"
 #include "case.h"
+#include "compiler.h"
 #include "dictionary.h"
 #include "hash.h"
 #include "pool.h"
Index: pspp/src/language/stats/oneway.q
diff -u pspp/src/language/stats/oneway.q:1.1 
pspp/src/language/stats/oneway.q:1.2
--- pspp/src/language/stats/oneway.q:1.1        Sat Mar  4 01:11:57 2006
+++ pspp/src/language/stats/oneway.q    Sat Mar  4 21:00:38 2006
@@ -29,6 +29,7 @@
 #include "case.h"
 #include "dictionary.h"
 #include "command.h"
+#include "compiler.h"
 #include "lexer.h"
 #include "message.h"
 #include "magic.h"
Index: pspp/src/language/stats/rank.q
diff -u pspp/src/language/stats/rank.q:1.1 pspp/src/language/stats/rank.q:1.2
--- pspp/src/language/stats/rank.q:1.1  Sat Mar  4 01:11:57 2006
+++ pspp/src/language/stats/rank.q      Sat Mar  4 21:00:38 2006
@@ -20,6 +20,7 @@
 
 #include <config.h>
 #include "command.h"
+#include "compiler.h"
 #include "dictionary.h"
 #include "sort.h"
 #include "variable.h"
Index: pspp/src/language/stats/regression.q
diff -u pspp/src/language/stats/regression.q:1.1 
pspp/src/language/stats/regression.q:1.2
--- pspp/src/language/stats/regression.q:1.1    Sat Mar  4 01:11:57 2006
+++ pspp/src/language/stats/regression.q        Sat Mar  4 21:00:38 2006
@@ -29,6 +29,7 @@
 #include "category.h"
 #include "cat-routines.h"
 #include "command.h"
+#include "compiler.h"
 #include "design-matrix.h"
 #include "dictionary.h"
 #include "message.h"
Index: pspp/src/language/stats/t-test.q
diff -u pspp/src/language/stats/t-test.q:1.1 
pspp/src/language/stats/t-test.q:1.2
--- pspp/src/language/stats/t-test.q:1.1        Sat Mar  4 01:11:57 2006
+++ pspp/src/language/stats/t-test.q    Sat Mar  4 21:00:38 2006
@@ -29,6 +29,7 @@
 #include "case.h"
 #include "casefile.h"
 #include "command.h"
+#include "compiler.h"
 #include "dictionary.h"
 #include "message.h"
 #include "group-proc.h"
Index: pspp/src/language/utilities/set.q
diff -u pspp/src/language/utilities/set.q:1.1 
pspp/src/language/utilities/set.q:1.2
--- pspp/src/language/utilities/set.q:1.1       Sat Mar  4 01:11:57 2006
+++ pspp/src/language/utilities/set.q   Sat Mar  4 21:00:38 2006
@@ -26,6 +26,7 @@
 #include <time.h>
 #include "alloc.h"
 #include "command.h"
+#include "compiler.h"
 #include "dictionary.h"
 #include "line-buffer.h"
 #include "lexer.h"
Index: pspp/src/language/xforms/count.c
diff -u pspp/src/language/xforms/count.c:1.1 
pspp/src/language/xforms/count.c:1.2
--- pspp/src/language/xforms/count.c:1.1        Sat Mar  4 01:11:57 2006
+++ pspp/src/language/xforms/count.c    Sat Mar  4 21:00:38 2006
@@ -23,6 +23,7 @@
 #include "alloc.h"
 #include "case.h"
 #include "command.h"
+#include "compiler.h"
 #include "dictionary.h"
 #include "message.h"
 #include "lexer.h"
Index: pspp/src/language/xforms/recode.c
diff -u pspp/src/language/xforms/recode.c:1.1 
pspp/src/language/xforms/recode.c:1.2
--- pspp/src/language/xforms/recode.c:1.1       Sat Mar  4 01:11:57 2006
+++ pspp/src/language/xforms/recode.c   Sat Mar  4 21:00:38 2006
@@ -25,6 +25,7 @@
 #include "alloc.h"
 #include "case.h"
 #include "command.h"
+#include "compiler.h"
 #include "data-in.h"
 #include "dictionary.h"
 #include "message.h"
Index: pspp/src/language/xforms/sample.c
diff -u pspp/src/language/xforms/sample.c:1.1 
pspp/src/language/xforms/sample.c:1.2
--- pspp/src/language/xforms/sample.c:1.1       Sat Mar  4 01:11:57 2006
+++ pspp/src/language/xforms/sample.c   Sat Mar  4 21:00:38 2006
@@ -24,6 +24,7 @@
 #include <math.h>
 #include "alloc.h"
 #include "command.h"
+#include "compiler.h"
 #include "message.h"
 #include "lexer.h"
 #include "random.h"
Index: pspp/src/libpspp/ChangeLog
diff -u pspp/src/libpspp/ChangeLog:1.2 pspp/src/libpspp/ChangeLog:1.3
--- pspp/src/libpspp/ChangeLog:1.2      Sat Mar  4 20:15:32 2006
+++ pspp/src/libpspp/ChangeLog  Sat Mar  4 21:00:38 2006
@@ -1,3 +1,7 @@
+Sat Mar  4 12:59:01 2006  Ben Pfaff  <address@hidden>
+
+       * compiler.h: New file.
+
 Sat Mar  4 11:55:16 2006  Ben Pfaff  <address@hidden>
 
        * str.h: Now assume that sprintf() returns the correct value.
Index: pspp/src/libpspp/hash.c
diff -u pspp/src/libpspp/hash.c:1.1 pspp/src/libpspp/hash.c:1.2
--- pspp/src/libpspp/hash.c:1.1 Sat Mar  4 01:11:57 2006
+++ pspp/src/libpspp/hash.c     Sat Mar  4 21:00:38 2006
@@ -23,10 +23,11 @@
 #include <assert.h>
 #include <ctype.h>
 #include <limits.h>
+#include <stdbool.h>
 #include <stdlib.h>
 #include "array.h"
 #include "alloc.h"
-#include <stdbool.h>
+#include "compiler.h"
 #include "misc.h"
 #include "str.h"
 
Index: pspp/src/libpspp/message.h
diff -u pspp/src/libpspp/message.h:1.1 pspp/src/libpspp/message.h:1.2
--- pspp/src/libpspp/message.h:1.1      Sat Mar  4 01:11:57 2006
+++ pspp/src/libpspp/message.h  Sat Mar  4 21:00:38 2006
@@ -22,6 +22,7 @@
 
 #include <stdarg.h>
 #include <stdbool.h>
+#include "compiler.h"
 
 /* Message classes. */
 enum
Index: pspp/src/libpspp/pool.h
diff -u pspp/src/libpspp/pool.h:1.1 pspp/src/libpspp/pool.h:1.2
--- pspp/src/libpspp/pool.h:1.1 Sat Mar  4 01:11:57 2006
+++ pspp/src/libpspp/pool.h     Sat Mar  4 21:00:38 2006
@@ -21,6 +21,7 @@
 #define pool_h 1
 
 #include <stdio.h>
+#include "compiler.h"
 
 /* Maximum size of a suballocated block.  Larger blocks are allocated
    directly with malloc() to avoid memory wastage at the end of a
Index: pspp/src/libpspp/str.h
diff -u pspp/src/libpspp/str.h:1.2 pspp/src/libpspp/str.h:1.3
--- pspp/src/libpspp/str.h:1.2  Sat Mar  4 20:15:32 2006
+++ pspp/src/libpspp/str.h      Sat Mar  4 21:00:38 2006
@@ -25,6 +25,7 @@
 #include <stdio.h>
 #include <string.h>
 
+#include "compiler.h"
 #include "memcasecmp.h"
 #include "memmem.h"
 #include "snprintf.h"
Index: pspp/src/math/group.c
diff -u pspp/src/math/group.c:1.1 pspp/src/math/group.c:1.2
--- pspp/src/math/group.c:1.1   Sat Mar  4 01:11:57 2006
+++ pspp/src/math/group.c       Sat Mar  4 21:00:38 2006
@@ -20,6 +20,7 @@
 #include <config.h>
 #include <stdlib.h>
 #include "alloc.h"
+#include "compiler.h"
 #include "hash.h"
 #include "group.h"
 #include "group-proc.h"
Index: pspp/src/math/percentiles.c
diff -u pspp/src/math/percentiles.c:1.1 pspp/src/math/percentiles.c:1.2
--- pspp/src/math/percentiles.c:1.1     Sat Mar  4 01:11:57 2006
+++ pspp/src/math/percentiles.c Sat Mar  4 21:00:38 2006
@@ -19,6 +19,7 @@
 02110-1301, USA. */
 
 #include <config.h>
+#include "compiler.h"
 #include "factor-stats.h"
 #include "percentiles.h"
 #include "misc.h"
Index: pspp/src/output/ascii.c
diff -u pspp/src/output/ascii.c:1.1 pspp/src/output/ascii.c:1.2
--- pspp/src/output/ascii.c:1.1 Sat Mar  4 01:11:58 2006
+++ pspp/src/output/ascii.c     Sat Mar  4 21:00:38 2006
@@ -26,6 +26,7 @@
 #include "alloc.h"
 #include "message.h"
 #include "chart.h"
+#include "compiler.h"
 #include "filename.h"
 #include "misc.h"
 #include "output.h"
Index: pspp/src/output/charts/cartesian.c
diff -u pspp/src/output/charts/cartesian.c:1.1 
pspp/src/output/charts/cartesian.c:1.2
--- pspp/src/output/charts/cartesian.c:1.1      Sat Mar  4 02:00:57 2006
+++ pspp/src/output/charts/cartesian.c  Sat Mar  4 21:00:38 2006
@@ -23,6 +23,7 @@
 #include <assert.h>
 #include "plot-chart.h"
 #include "cartesian.h"
+#include "compiler.h"
 
 
 
Index: pspp/src/output/charts/dummy-chart.c
diff -u pspp/src/output/charts/dummy-chart.c:1.1 
pspp/src/output/charts/dummy-chart.c:1.2
--- pspp/src/output/charts/dummy-chart.c:1.1    Sat Mar  4 02:00:57 2006
+++ pspp/src/output/charts/dummy-chart.c        Sat Mar  4 21:00:38 2006
@@ -26,6 +26,7 @@
 #include "plot-chart.h"
 #include "cartesian.h"
 #include <gsl/gsl_histogram.h>
+#include "compiler.h"
 
 
 #ifndef NO_CHARTS
Index: pspp/src/output/groff-font.c
diff -u pspp/src/output/groff-font.c:1.2 pspp/src/output/groff-font.c:1.3
--- pspp/src/output/groff-font.c:1.2    Sat Mar  4 20:38:51 2006
+++ pspp/src/output/groff-font.c        Sat Mar  4 21:00:38 2006
@@ -26,6 +26,7 @@
 #include <limits.h>
 #include <stdarg.h>
 #include "alloc.h"
+#include "compiler.h"
 #include "message.h"
 #include "filename.h"
 #include "getline.h"
Index: pspp/src/output/html.c
diff -u pspp/src/output/html.c:1.1 pspp/src/output/html.c:1.2
--- pspp/src/output/html.c:1.1  Sat Mar  4 01:11:58 2006
+++ pspp/src/output/html.c      Sat Mar  4 21:00:38 2006
@@ -34,6 +34,7 @@
 #endif
 
 #include "alloc.h"
+#include "compiler.h"
 #include "message.h"
 #include "filename.h"
 #include "getline.h"
Index: pspp/src/output/postscript.c
diff -u pspp/src/output/postscript.c:1.2 pspp/src/output/postscript.c:1.3
--- pspp/src/output/postscript.c:1.2    Sat Mar  4 20:38:51 2006
+++ pspp/src/output/postscript.c        Sat Mar  4 21:00:38 2006
@@ -36,6 +36,7 @@
 
 #include "alloc.h"
 #include "bit-vector.h"
+#include "compiler.h"
 #include "message.h"
 #include "filename.h"
 #include "font.h"
Index: pspp/src/output/table.c
diff -u pspp/src/output/table.c:1.1 pspp/src/output/table.c:1.2
--- pspp/src/output/table.c:1.1 Sat Mar  4 01:11:58 2006
+++ pspp/src/output/table.c     Sat Mar  4 21:00:38 2006
@@ -25,6 +25,7 @@
 #include <stdlib.h>
 #include "message.h"
 #include "alloc.h"
+#include "compiler.h"
 #include "format.h"
 #include "magic.h"
 #include "misc.h"
Index: pspp/src/ui/terminal/main.c
diff -u pspp/src/ui/terminal/main.c:1.1 pspp/src/ui/terminal/main.c:1.2
--- pspp/src/ui/terminal/main.c:1.1     Sat Mar  4 01:11:58 2006
+++ pspp/src/ui/terminal/main.c Sat Mar  4 21:00:38 2006
@@ -23,6 +23,7 @@
 #include <stdio.h>
 #include "command-line.h"
 #include "command.h"
+#include "compiler.h"
 #include "dictionary.h"
 #include "message.h"
 #include "file-handle-def.h"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]