Weeded out gcc warnings and added -Wall as a configure flag.
This commit is contained in:
parent
0d79bcd42c
commit
7d7ceb6480
|
@ -36,8 +36,8 @@ target_triplet = @target@
|
|||
subdir = .
|
||||
DIST_COMMON = README $(am__configure_deps) $(dist_doc_DATA) \
|
||||
$(srcdir)/Makefile.am $(srcdir)/Makefile.in \
|
||||
$(srcdir)/config.h.in $(top_srcdir)/configure COPYING TODO \
|
||||
compile config.guess config.sub depcomp install-sh missing \
|
||||
$(srcdir)/config.h.in $(top_srcdir)/configure COPYING compile \
|
||||
config.guess config.sub depcomp install-sh missing \
|
||||
mkinstalldirs
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
|
||||
|
|
|
@ -4479,7 +4479,7 @@ fi
|
|||
|
||||
|
||||
|
||||
CFLAGS="$CFLAGS -DNDEBUG -O3"
|
||||
CFLAGS="$CFLAGS -DNDEBUG -O3 -Wall"
|
||||
|
||||
case "$target_os" in
|
||||
*linux*)
|
||||
|
|
|
@ -13,7 +13,7 @@ AM_PROG_AS
|
|||
AC_PROG_CC
|
||||
AM_PROG_CC_C_O
|
||||
|
||||
CFLAGS="$CFLAGS -DNDEBUG -O3"
|
||||
CFLAGS="$CFLAGS -DNDEBUG -O3 -Wall"
|
||||
|
||||
case "$target_os" in
|
||||
*linux*)
|
||||
|
|
|
@ -9,8 +9,8 @@ EXTRA_DIST=ikarus.boot.prebuilt ikarus.enumerations.ss \
|
|||
ikarus.date-string.ss ikarus.fasl.ss ikarus.fasl.write.ss \
|
||||
ikarus.fixnums.ss ikarus.guardians.ss ikarus.handlers.ss \
|
||||
ikarus.hash-tables.ss ikarus.intel-assembler.ss \
|
||||
ikarus.lists.ss ikarus.load.ss \
|
||||
ikarus.main.ss ikarus.multiple-values.ss ikarus.numerics.ss \
|
||||
ikarus.lists.ss ikarus.load.ss ikarus.main.ss \
|
||||
ikarus.multiple-values.ss ikarus.numerics.ss \
|
||||
ikarus.pairs.ss ikarus.posix.ss ikarus.predicates.ss \
|
||||
ikarus.pretty-print.ss ikarus.promises.ss ikarus.reader.ss \
|
||||
ikarus.records.procedural.ss ikarus.conditions.ss \
|
||||
|
|
|
@ -163,8 +163,8 @@ EXTRA_DIST = ikarus.boot.prebuilt ikarus.enumerations.ss \
|
|||
ikarus.date-string.ss ikarus.fasl.ss ikarus.fasl.write.ss \
|
||||
ikarus.fixnums.ss ikarus.guardians.ss ikarus.handlers.ss \
|
||||
ikarus.hash-tables.ss ikarus.intel-assembler.ss \
|
||||
ikarus.lists.ss ikarus.load.ss \
|
||||
ikarus.main.ss ikarus.multiple-values.ss ikarus.numerics.ss \
|
||||
ikarus.lists.ss ikarus.load.ss ikarus.main.ss \
|
||||
ikarus.multiple-values.ss ikarus.numerics.ss \
|
||||
ikarus.pairs.ss ikarus.posix.ss ikarus.predicates.ss \
|
||||
ikarus.pretty-print.ss ikarus.promises.ss ikarus.reader.ss \
|
||||
ikarus.records.procedural.ss ikarus.conditions.ss \
|
||||
|
|
|
@ -1 +1 @@
|
|||
1216
|
||||
1217
|
||||
|
|
|
@ -357,7 +357,6 @@ static void empty_dropped_guardians(gc_t*);
|
|||
*/
|
||||
|
||||
|
||||
ikpcb* ik_collect(int req, ikpcb* pcb);
|
||||
ikpcb* ik_collect_vararg(int req, ikpcb* pcb){
|
||||
return ik_collect(req, pcb);
|
||||
}
|
||||
|
|
|
@ -168,6 +168,7 @@ typedef struct ikpcb{
|
|||
struct timeval collect_rtime;
|
||||
} ikpcb;
|
||||
|
||||
ikpcb* ik_collect(int req, ikpcb* pcb);
|
||||
void ikarus_usage_short(void);
|
||||
|
||||
void* ik_malloc(int);
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/uio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
|
|
@ -141,7 +141,6 @@ int main(int argc, char** argv){
|
|||
ikarus_usage();
|
||||
exit(0);
|
||||
}
|
||||
char buff[FILENAME_MAX];
|
||||
char* boot_file = get_option("-b", argc, argv);
|
||||
if(boot_file){
|
||||
argc -= 2;
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include "bootfileloc.h"
|
||||
|
||||
int main(int argc, char** argv){
|
||||
|
@ -35,7 +36,7 @@ int main(int argc, char** argv){
|
|||
a[i+1] = argv[i];
|
||||
}
|
||||
a[argc+1] = 0;
|
||||
int rv = execv(EXEFILE, a);
|
||||
execv(EXEFILE, a);
|
||||
fprintf(stderr, "Error executing ikarus from scheme-script: %s\n",
|
||||
strerror(errno));
|
||||
exit(-1);
|
||||
|
|
Loading…
Reference in New Issue