diff options
author | toogley <toogley@posteo.de> | 2020-06-02 15:30:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-02 15:30:55 +0000 |
commit | 26cda6b5e6a855bd80591765c347d1d508a539f9 (patch) | |
tree | e29e2248c0719078f87cbb9e43c8a075f021ca5e | |
parent | 3d7a3134afc36f8494fca1b3d77a1bc7e6789f63 (diff) | |
download | profani-tty-26cda6b5e6a855bd80591765c347d1d508a539f9.tar.gz |
use always c99; fixes "universal character names" error msg
without this, i receive this error on openbsd 6.7: src/event/server_events.c:1477:19: error: universal character names are only valid in C++ and C99 src/event/server_events.c:1478:19: error: universal character names are only valid in C++ and C99 gmake[1]: *** [Makefile:1925: src/event/server_events.o] Error 1 gmake[1]: Leaving directory '/home/toogley/profanity' gmake: *** [Makefile:1212: all] Error 2
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index c5b4339c..77acc105 100644 --- a/configure.ac +++ b/configure.ac @@ -329,7 +329,7 @@ AC_CHECK_HEADERS([ncursesw/ncurses.h], [], []) AC_CHECK_HEADERS([ncurses.h], [], []) ### Default parameters -AM_CFLAGS="-Wall -Wno-deprecated-declarations" +AM_CFLAGS="-Wall -Wno-deprecated-declarations -std=c99" AS_IF([test "x$PACKAGE_STATUS" = xdevelopment], [AM_CFLAGS="$AM_CFLAGS -Wunused -Werror"]) AS_IF([test "x$PLATFORM" = xosx], |