Skip to content

Commit 6c4e4e4

Browse files
authored
Merge pull request #22660 from crasbe/pr/ubasic_llvm
pkg/ubasic: disable qualifier warning for LLVM, deprecate package
2 parents 1f39b3e + 1c5c91e commit 6c4e4e4

4 files changed

Lines changed: 16 additions & 7 deletions

File tree

pkg/ubasic/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ PKG_URL=https://github.com/adamdunkels/ubasic
33
PKG_VERSION=cc07193c231e21ecb418335aba5b199a08d4685c
44
PKG_LICENSE=BSD-3-Clause
55

6+
include $(RIOTBASE)/makefiles/color.inc.mk
7+
8+
$(call echowarn,("pkg/ubasic is deprecated and will be removed after the 2027.04 Release!"))
9+
610
include $(RIOTBASE)/pkg/pkg.mk
711

812
UBASIC_MODULES = ubasic_tests

pkg/ubasic/doc.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
@defgroup pkg_ubasic uBASIC interpreter
2+
@ingroup pkg
3+
@brief A really tiny BASIC interpreter
4+
@see http://dunkels.com/adam/ubasic/
5+
6+
This was added as an April Fools Joke in 2019, but the underlying project has
7+
not been maintained or updated since ~2014.
8+
9+
This package is deprecated and will be removed after the 2027.04 Release.
10+
If you are actually using it, please raise your voice!

pkg/ubasic/doc.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.

pkg/ubasic/ubasic.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
MODULE = ubasic
22

33
# some toolchains complain about the usage of isdigit with a pointer in the
4-
# tokenizer
4+
# tokenizer as well as setting a non-const pointer with strchr
55
CFLAGS += -Wno-char-subscripts
6+
CFLAGS += -Wno-discarded-qualifiers
67

78
SRC := tokenizer.c ubasic.c
89
NO_AUTO_SRC := 1

0 commit comments

Comments
 (0)