diff --git a/.travis.yml b/.travis.yml index ffec9e6..d275c1a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,2 +1,7 @@ language: c + +compiler: + - clang + - gcc + script: make diff --git a/Makefile b/Makefile index 6a38ad6..4c0cc48 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,4 @@ -CC = gcc -CCFLAGS = -ansi -Wall -Wshadow -O2 -g +CCFLAGS = -Wall -Wshadow -O2 -g LFLAGS = -lm diff --git a/example3.c b/example3.c index b6fb026..2ace13b 100644 --- a/example3.c +++ b/example3.c @@ -20,7 +20,7 @@ int main(int argc, char *argv[]) fclose(saved); if (!ann) { - printf("Error loading ANN from file.", save_name); + printf("Error loading ANN from file: %s.", save_name); exit(1); }