1998-05-02 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
+ * fluids.c: Removed use of assert.h (in order to avoid
+ __eprintf).
+
+ * Makefile.am (libguile_la_LDFLAGS): Added -export-dynamic.
+
+ * dynl.c (maybe_drag_in_eprintf): Disabled through #ifdef 0.
+
* eval.c (SCM_CEVAL): Do more thorough argument checking. This
change makes the evaluator safer at the cost of evaluation speed.
It handles the case when the user has added a non-immediate
libguile_la_DEPENDENCIES = @LIBLOBJS@
libguile_la_LIBADD = @LIBLOBJS@
-libguile_la_LDFLAGS = -version-info 3:0
+libguile_la_LDFLAGS = -version-info 3:0 -export-dynamic
include_HEADERS = libguile.h
Author: Aubrey Jaffer
Modified for libguile by Marius Vollmer */
+#if 0 /* Disabled until we know for sure that it isn't needed */
/* XXX - This is only here to drag in a definition of __eprintf. This
is needed for proper operation of dynamic linking. The real
solution would probably be a shared libgcc. */
{
assert (!maybe_drag_in_eprintf);
}
+#endif
#include <stdio.h>
#include "_scm.h"
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice. */
-#include <assert.h>
-
#include "_scm.h"
#include "print.h"
#include "smob.h"
int old_length, i;
old_fluids = root_state->fluids;
- assert (SCM_NIMP (old_fluids) && SCM_VECTORP (old_fluids));
old_length = SCM_LENGTH (old_fluids);
- assert (old_length <= new_length);
new_fluids = scm_make_vector (SCM_MAKINUM (new_length),
SCM_BOOL_F, SCM_BOOL_F);
i = 0;
SCM_ASSERT (SCM_NIMP (fl) && SCM_FLUIDP (fl), fl, SCM_ARG1, s_fluid_ref);
n = SCM_FLUID_NUM (fl);
- assert (n >= 0 && n < n_fluids);
if (SCM_LENGTH (scm_root->fluids) <= n)
grow_fluids (scm_root, n+1);
SCM_ASSERT (SCM_NIMP (fl) && SCM_FLUIDP (fl), fl, SCM_ARG1, s_fluid_set_x);
n = SCM_FLUID_NUM (fl);
- assert (n >= 0 && n < n_fluids);
if (SCM_LENGTH (scm_root->fluids) <= n)
grow_fluids (scm_root, n+1);