Compare commits

...

4 Commits

Author SHA1 Message Date
tTh
4ed0ab33b9 + one year 2024-08-16 11:39:53 +02:00
tTh
c9154c923b add a warning flag 2024-02-19 17:41:36 +01:00
tTh
9defba34c6 std = C11 2024-02-11 17:18:33 +01:00
tTh
298c6e1d1e oups... 2023-12-27 06:24:08 +01:00
3 changed files with 10 additions and 8 deletions

View File

@ -10,9 +10,10 @@
VERSION=0.0040
TEKFLAG= -DDEBUG_LEVEL=1 -g
CFLAGS=-Wall -Wextra -ansi $(TEKFLAG) -DVERSION=\"$(VERSION)\"
BIBS=-lncurses -lao -lsndfile -logg
TEKFLAG = -DDEBUG_LEVEL=1 -g
CFLAGS = -std=c11 -Wall -Wextra -ansi -Wlogical-op \
$(TEKFLAG) -DVERSION=\"$(VERSION)\"
BIBS = -lncurses -lao -lsndfile -logg
#---------------------------------------------------------
@ -33,9 +34,10 @@ playau.o: playau.c ecoute.h Makefile
playogg.o: playogg.c ecoute.h Makefile
playspeex.o: playspeex.c ecoute.h Makefile
playflac.o: playflac.c ecoute.h Makefile
rmfile.o: rmfile.c ecoute.h Makefile
OBJ=main.o ecran.o playnote.o playwav.o playogg.o fonctions.o interactive.o \
dump.o playau.o playspeex.o playflac.o magic.o ifao.o
dump.o playau.o playspeex.o playflac.o magic.o ifao.o rmfile.o
ecoute: $(OBJ)
gcc $(CFLAGS) $(OBJ) $(BIBS) -o ecoute

View File

@ -90,7 +90,7 @@ format.byte_format = AO_FMT_LITTLE; /* XXX ??? */
fprintf(stderr, "%s: going to open ao\n", __func__);
device = ao_open_live(driver, &format, NULL);
fprintf(stderr, "%s: open live -> %p\n", device);
fprintf(stderr, "%s: open live -> %p\n", __func__, device);
if (NULL == device) {
fprintf(stderr, "\nEcoute: Error open device\n");
/*

View File

@ -125,7 +125,7 @@ char buffer[200];
barre_inverse(' ', 0);
standout();
mvaddstr(0, 2, " Visuel HexDiff v " VERSION " by tTh 2023 ");
mvaddstr(0, 2, " Visuel HexDiff v " VERSION " by tTh 2024 ");
#if TRACE
sprintf(buffer, " screen size %dx%d ", COLS, LINES);
foo = strlen(buffer);
@ -211,7 +211,7 @@ delwin(popup);
static char *about_texte[] =
{
"Visuel Hexdiff - version " VERSION,
"(c) 2023 by Thierry [tTh] Boudet",
"(c) 2024 by Thierry [tTh] Boudet",
"http://tboudet.free.fr/hexdiff/",
"https://git.tetalab.org/tTh/KlugyTools/",
"send bugs reports: tontonth@free.fr",
@ -319,7 +319,7 @@ return -1;
/*----------------------------------------------------------------*/
void version(void)
{
fprintf(stderr, "\nThis is 'hexdiff' v "VERSION", made by tTh in 2023\n");
fprintf(stderr, "\nThis is 'hexdiff' v "VERSION", made by tTh in 2024\n");
/* fprintf(stderr, "homepage: http://tboudet.free.fr/hexdiff/\n"); */
fprintf(stderr, "homepage: https://git.tetalab.org/tTh/KlugyTools/\n");
#if TRACE