axiom-developer
[Top][All Lists]
Advanced

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

[Axiom-developer] Wrong prototype


From: Waldek Hebisch
Subject: [Axiom-developer] Wrong prototype
Date: Fri, 24 Nov 2006 13:26:54 +0100 (CET)

Gaby, your recent prototype convertion lost return type of spad_error_handler.
I do not understand why Debian gcc-4.1.2 (prerelease) did report this, but
gcc-3.3.5 complained.  The following adds the return type back:


--- wh-sandbox.bb/src/hyper/lex.pamphlet        2006-11-24 11:24:10.000000000 
+0100
+++ wh-sandbox/src/hyper/lex.pamphlet   2006-11-24 13:20:57.000000000 +0100
@@ -820,6 +820,7 @@
 
 
 #ifndef HTADD
+static void
 spad_error_handler(void)
 {
     /* fprintf(stderr, "got a spad error\n"); */

-- 
                              Waldek Hebisch
address@hidden 




reply via email to

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