changeset 4642:7a83d52d2aed

[project @ 2003-11-22 12:19:34 by jwe]
author jwe
date Sat, 22 Nov 2003 12:20:33 +0000
parents 7604168d3e2a
children ef3a14fb6847
files src/ov-builtin.h src/ov-dld-fcn.h
diffstat 2 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/ov-builtin.h	Sat Nov 22 12:19:27 2003 +0000
+++ b/src/ov-builtin.h	Sat Nov 22 12:20:33 2003 +0000
@@ -27,6 +27,8 @@
 #pragma interface
 #endif
 
+#include <cstdlib>
+
 #include <string>
 
 #include "ov-fcn.h"
@@ -42,6 +44,8 @@
 {
 public:
 
+  octave_builtin (void) { abort (); }
+
   typedef octave_value_list (*fcn) (const octave_value_list&, int);
 
   octave_builtin (fcn ff, const std::string& nm = std::string (),
@@ -75,8 +79,6 @@
 
 private:
 
-  octave_builtin (void);
-
   octave_builtin (const octave_builtin& m);
 
   DECLARE_OCTAVE_ALLOCATOR
--- a/src/ov-dld-fcn.h	Sat Nov 22 12:19:27 2003 +0000
+++ b/src/ov-dld-fcn.h	Sat Nov 22 12:20:33 2003 +0000
@@ -27,6 +27,8 @@
 #pragma interface
 #endif
 
+#include <cstdlib>
+
 #include <string>
 
 #include "oct-shlib.h"
@@ -47,7 +49,7 @@
 {
 public:
 
-  octave_dld_function (void);
+  octave_dld_function (void) { abort (); }
 
   octave_dld_function (octave_builtin::fcn ff, const octave_shlib& shl,
 		       const std::string& nm = std::string (),