From c04ed01f5c008733c4d4575b888e1c40a8797e24 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 27 Mar 2022 14:20:07 -0400 Subject: Release 2.5 --- Makefile | 2 +- RELEASES.md | 27 +++++++++++++++++++++++++++ bfs.h | 2 +- 3 files changed, 29 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1b6ea31..466dcd1 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ ############################################################################ ifeq ($(wildcard .git),) -VERSION := 2.4.1 +VERSION := 2.5 else VERSION := $(shell git describe --always) endif diff --git a/RELEASES.md b/RELEASES.md index 0495c6b..5bb2b3f 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,6 +1,33 @@ 2.* === +2.5 +--- + +**March 27, 20222** + +- Added compiler-style context for errors and warnings. + Errors look like this: + + $ bfs -nam needle + bfs: error: bfs -nam needle + bfs: error: ~~~~ + bfs: error: Unknown argument; did you mean -name? + + and warnings look like this: + + $ bfs -print -name 'needle' + bfs: warning: bfs -print -name needle + bfs: warning: ~~~~~~~~~~~~ + bfs: warning: The result of this expression is ignored. + +- Updated from C99 to C11 + +- Fixed the tests when built against musl + +- Fixed a build error reported on Manjaro + + 2.4.1 ----- diff --git a/bfs.h b/bfs.h index cc87f3c..93d8d79 100644 --- a/bfs.h +++ b/bfs.h @@ -22,7 +22,7 @@ #define BFS_H #ifndef BFS_VERSION -# define BFS_VERSION "2.4.1" +# define BFS_VERSION "2.5" #endif #ifndef BFS_HOMEPAGE -- cgit v1.2.3