Jim Blandy
d043e0bbf9
*** empty log message ***
1998-09-30 12:32:45 +00:00
Jim Blandy
94c0b3b855
*** empty log message ***
1998-09-30 10:17:03 +00:00
Jim Blandy
8a04c1a215
Warning fixes from Maciej Stachowiak:
...
* backtrace.h (scm_display_application, scm_backtrace): Add
prototypes.
* debug.c (scm_m_start_stack): Make this function static.
* fluids.h (scm_fluid_p): Add prototype.
* procprop.c (scm_i_procedure_arity): Make this function static.
* regex-posix.c (scm_regexp_error_msg): Make this function static.
* regex-posix.h (scm_init_regex_posix): Use prototype, not K&R decl.
* root.h (scm_dynamic_root): Add external prototype.
* scmsigs.h (scm_usleep): Add external prototype.
* script.h (scm_init_script): Use prototype, not K&R decl.
* stacks.h (scm_stack_id): Add external prototype.
* symbols.h (scm_sysintern0_no_module_lookup): Add external prototype.
1998-09-30 10:14:59 +00:00
Mark Galassi
dc9f6d6a7d
1998-09-30 Mark Galassi <rosalia@cygnus.com>
...
* gh.h: took out the definitions of vset and vref, since they are
replaced by the proper vector routines that correspond to the R4RS
procedures.
1998-09-30 06:34:09 +00:00
Jim Blandy
61a9ba4862
*** empty log message ***
1998-09-29 19:59:22 +00:00
Jim Blandy
4a1c172e69
* stp.h (stp_create): Doc fix.
1998-09-29 19:58:10 +00:00
Jim Blandy
2fd3e6a304
* version.h (scm_libguile_config_stamp): Add prototype.
...
(From Maciej Stachowiak.)
1998-09-29 19:57:35 +00:00
Jim Blandy
2e07d03336
* snarf.h: Add SCM_VCELL_INIT and SCM_GLOBAL_VCELL_INIT macros;
...
these are analogous to SCM_VCELL and SCM_GLOBAL_VCELL but take a
third argument, a C expression that should result in a SCM value,
which is used to initialize the variable. Reimplemented
SCM_CONST_LONG in terms of SCM_VCELL_INIT. (Thanks to Maciej
Stachowiak.)
1998-09-29 19:57:22 +00:00
Jim Blandy
9a3c114901
*** empty log message ***
1998-09-26 09:57:49 +00:00
Jim Blandy
eed6e03e7e
* eval.c (scm_force): Assert that x is SCM_NIMP to fix segv when
...
(force 9) is tried. (Thanks to Karl M. Hegbloom.)
1998-09-26 09:57:37 +00:00
Jim Blandy
6925bc4ed9
*** empty log message ***
1998-09-06 18:57:39 +00:00
Jim Blandy
5ca6dc3947
* print.c (scm_iprin1): Rather than having one i, and using it in
...
several places, declare a fresh i local to each block where it is
used, and give it a signedness appropriate to its use in each case.
(scm_iprlist): Same.
* print.c (scm_iprin1): Add cast to avoid unsigned/signed
comparison warnings.
* print.c (ENTER_NESTED_DATA): Make i an unsigned long, to avoid
signed/unsigned clashes.
1998-09-06 18:57:16 +00:00
Jim Blandy
522158de92
* posix.h (scm_tmpnam): Added prototype.
1998-09-06 18:57:07 +00:00
Jim Blandy
52591c8068
*** empty log message ***
1998-09-06 18:16:40 +00:00
Jim Blandy
2d5881d5fe
* objects.h (scm_set_object_procedure_x, scm_make_class_object,
...
scm_make_subclass_object): Add external prototypes.
1998-09-06 18:16:08 +00:00
Jim Blandy
2bf746cc9f
* numbers.c (scm_mkbig): Add cast, and note that signed/unsigned
...
comparison is okay here.
* numbers.c (scm_istr2int): Add cast; len is known to be positive.
* numbers.c (scm_bigcomp): Clarify logic, and avoid relying on the
(true, but confusing) fact that -1 == ((unsigned) 0 - 1).
* numbers.c (scm_adjbig): Make nsiz an scm_sizet, to avoid mixing
signed/unsigned.
1998-09-06 18:15:59 +00:00
Jim Blandy
c7023c693a
* load.c (swap_port): Make this function static.
...
* load.c (scm_search_path): Make max_path_len and max_ext_len
unsigned, since they're compared against string sizes.
* load.c (init_build_info): Make i unsigned.
1998-09-06 18:15:49 +00:00
Jim Blandy
fec5693499
* ioext.h (scm_read_line): Add prototype.
1998-09-06 18:15:40 +00:00
Jim Blandy
a085c2b43a
* hashtab.c (scm_hash_fn_get_handle, scm_hash_fn_create_handle_x,
...
scm_hash_fn_remove_x): Make hash bucket index local variable k
unsigned. Use scm_ulong2num to pass it to SCM_ASSERT as
accurately as possible.
1998-09-06 18:15:27 +00:00
Jim Blandy
fd88bd7cc2
* gh_data.c (gh_set_substr): Add casts to avoid signed/unsigned
...
comparisons, and range checking to make sure those casts are
harmless.
1998-09-06 18:15:19 +00:00
Jim Blandy
2d2c87e1e1
*** empty log message ***
1998-09-05 16:51:17 +00:00
Jim Blandy
574f95b63d
* stackchk.h (SCM_STACK_OVERFLOW_P): Change definition to avoid
...
signed/unsigned comparisons.
1998-09-05 16:50:40 +00:00
Jim Blandy
4e6e211987
* smob.c (scm_numsmob): Make this an int, not an scm_sizet, to
...
avoid signed/unsigned comparisons.
* smob.h (scm_numsmob): Change extern declaration to match.
1998-09-05 16:50:33 +00:00
Jim Blandy
a1c95c454b
* ports.c (scm_numptob): Make this an int, not an scm_sizet, to
...
avoid signed/unsigned comparisons.
* ports.h (scm_numptob): Change extern declaration to match.
(scm_current_load_port, scm_set_port_line_x,
scm_set_port_column_x): New prototypes.
1998-09-05 16:50:24 +00:00
Jim Blandy
952bedad0c
* gsubr.c (GSUBR_TEST): Don't #define this. Nobody's using the
...
test code, and it causes warnings.
1998-09-05 16:50:11 +00:00
Jim Blandy
8804002146
* gh.h (gh_int2scmb, gh_uniform_vector_length,
...
gh_uniform_vector_ref): Added prototypes.
1998-09-05 16:50:03 +00:00
Jim Blandy
11afb1d3ab
* Makefile.am (libguile_la_SOURCES): Include Scheme-level
...
debugging support unconditionally. That's backtrace.c, stack.c,
debug.c, and srcprop.c.
(EXTRA_libguile_la_SOURCES): Omit those from here.
* Makefile.in: Regenerated.
1998-09-05 16:49:51 +00:00
Jim Blandy
c176b92b54
* configure.in: Remove --disable-debug option. The debugging
...
support is pretty stable now, and it's confusing people.
* configure: Regenerated.
1998-09-05 16:48:23 +00:00
Jim Blandy
94ff097743
* HACKING: Remove -Wstrict-prototypes from the list of requested
...
flags (to match 1998-07-30 change).
1998-09-05 16:47:54 +00:00
Jim Blandy
38b9c0c3aa
(This change is part of the group made on 1998-07-30.)
...
* eval.h (scm_eval_options_interface): Add external prototype for this.
* eval.c (scm_eval_options_interface): Use prototype-style def'n.
1998-09-05 16:19:28 +00:00
Mikael Djurfeldt
a9b70caf57
*** empty log message ***
1998-08-21 08:16:08 +00:00
Mikael Djurfeldt
3243d7231c
* options.c (scm_options): Bugfix: Allow empty list of options!
1998-08-21 08:15:31 +00:00
Mikael Djurfeldt
066dacf85d
* eval.h, eval.c: New evaluator trap flag: SCM_TRAPS_P.
1998-08-21 08:14:37 +00:00
Mikael Djurfeldt
b6d7594844
* eval.h, eval.c: New evaluator trap flag: SCM_TRAPS_P.
...
* eval.c (SCM_CEVAL, SCM_APPLY): Removed resetting of trap flags.
Check SCM_TRAPS_P before trapping.
1998-08-21 08:13:55 +00:00
Mikael Djurfeldt
260b141627
* debug.c, debug.h (scm_single_step): Removed.
...
(scm_with_traps): New procedure. This procedure could easily be
written in Scheme but needs to be highly optimized.
1998-08-21 08:13:36 +00:00
Mikael Djurfeldt
c9dd46afba
*** empty log message ***
1998-08-21 08:08:52 +00:00
Mikael Djurfeldt
b89203a173
* debug.scm (trace-entry, trace-exit): Removed re-enabling of
...
trace flag.
1998-08-21 08:08:04 +00:00
Mikael Djurfeldt
45456413b8
* boot-9.scm (make-options): Bugfix: Changed pair? --> list? in
...
order to allow the empty list as arg.
(error-catching-loop): Use `with-traps' to create a dynamic
context with traps enabled.
1998-08-21 08:06:03 +00:00
Mikael Djurfeldt
b8f08e26ad
Regenerated
1998-08-21 03:14:24 +00:00
Mikael Djurfeldt
5ef4ef4e18
* boot-9.scm: Removed (ice-9 regex) from use-list of (guile)
...
module.
(try-using-libtool-name): Removed dependency on (ice-9 regex).
1998-08-19 13:10:26 +00:00
Mikael Djurfeldt
325f42e0de
* boot-9.scm: Make the root module use (ice-9 regex) if
...
available. The dynamic linking facilities in boot-9.scm are
currently dependent upon regular expressions. My change of
1998-07-14 removed (ice-9 regex) from the use-list of the root
module and thereby destroyed dynamic linking.
1998-08-15 09:16:43 +00:00
Marius Vollmer
57d09442e7
Undo check commit
1998-08-09 05:16:19 +00:00
Marius Vollmer
fcf479aa5b
Check commit
1998-08-09 05:12:16 +00:00
Jim Blandy
6dd787711d
*** empty log message ***
1998-07-30 15:14:11 +00:00
Jim Blandy
65030b5fda
* qt.h.in (qt_null, qt_error): Add prototypes for these.
1998-07-30 15:13:44 +00:00
Jim Blandy
15e9d186da
Changes to avoid signed/unsigned comparison warnings.
...
* gc.c (scm_mtrigger, scm_heap_size): Make these unsigned longs.
(scm_gc_sweep): Make n and j local to the blocks they're used in,
so they can have appropriate types for each application. Make i
signed. Use initializers in some spots. I'll probably pay for
all this tweaking.
(scm_must_malloc, scm_must_realloc): Use scm_sizet for size args.
(scm_must_realloc): Make nm unsigned.
(init_heap_seg): Make new_seg_index and n_new_objects signed.
(scm_init_storage): Use prototype-style definition, and make the
argument unsigned.
* gc.h (scm_heap_size, scm_mtrigger, scm_must_malloc,
scm_must_realloc, scm_init_storage): Adjust prototype accordingly.
1998-07-30 14:44:28 +00:00
Jim Blandy
6a738a2516
* filesys.c (scm_readlink): Make local vars rv and size ints, to
...
avoid signed/unsigned comparison warnings, and because the return
value of readlink may be -1. Don't bother casting the third
argument to readlink.
* filesys.c (scm_dirname, scm_basename): Move these to their own
page, at the end of the file.
* filesys.h (scm_dirname, scm_basename): Add prototypes for these.
1998-07-30 14:44:09 +00:00
Jim Blandy
8ecf1f1359
* eval.h (scm_eval_options_interface): Add external prototype for this.
...
* eval.c (scm_eval_options_interface): Use prototype-style def'n.
* eval.c (scm_lookupcar1): Make this static.
1998-07-30 14:44:01 +00:00
Jim Blandy
d5cf0efe1f
* dynl.h (scm_registered_modules, scm_clear_registered_modules):
...
Make these prototype declarations, not K&R-style.
1998-07-30 14:43:52 +00:00
Jim Blandy
77364130ed
* chars.c (scm_tables_prehistory): Add cast, to remove signed/
...
unsigned comparison warning.
1998-07-30 14:27:00 +00:00