From 77aac96aaccb60bc87e721efd571988272882771 Mon Sep 17 00:00:00 2001 From: bustico Date: Thu, 8 Oct 2009 14:43:05 +0000 Subject: fix compilation warning, default IVYBUS, and macosx build --- src/Makefile.osx | 2 +- src/ivy.c | 2 +- src/ivybind.h | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Makefile.osx b/src/Makefile.osx index ff2a44c..6f353d7 100644 --- a/src/Makefile.osx +++ b/src/Makefile.osx @@ -45,7 +45,7 @@ CFLAGS = -g -Wall $(FPIC) CC = $(OMPCC) CPP = $(OMPCPP) LIBTOOL = $(OMPLIBTOOL) -CFLAGS = $(OMPCFLAGS) +CFLAGS = -g -Wall -Wshadow $(FPIC) # ------------------------------------------------------------------------------------------ diff --git a/src/ivy.c b/src/ivy.c index 869cc20..07e84a4 100644 --- a/src/ivy.c +++ b/src/ivy.c @@ -54,7 +54,7 @@ #define ARG_START "\002" #define ARG_END "\003" -#define DEFAULT_DOMAIN 127.255.255.255 +#define DEFAULT_DOMAIN 127.0.0.1 /* stringification et concatenation du domaine et du port en 2 temps : * Obligatoire puisque la substitution de domain, et de bus n'est pas diff --git a/src/ivybind.h b/src/ivybind.h index adfc340..44004dd 100644 --- a/src/ivybind.h +++ b/src/ivybind.h @@ -26,10 +26,10 @@ void IvyBindindFilterCheck( const char *message ); /* Creation, Compilation */ IvyBinding IvyBindingCompile( const char *expression, int *erroffset, const char **errmessage ); -void IvyBindingFree( IvyBinding bind ); +void IvyBindingFree( IvyBinding _bind ); /* Execution , extraction */ -int IvyBindingExec( IvyBinding bind, const char * message ); +int IvyBindingExec( IvyBinding _bind, const char * message ); /* Get Argument */ -void IvyBindingMatch( IvyBinding bind, const char *message, int argnum, int *arglen, const char **arg ); +void IvyBindingMatch( IvyBinding _bind, const char *message, int argnum, int *arglen, const char **arg ); -- cgit v1.1