commit 23dc0e459442d89b46a30e096a0551b23709c20d
parent 4cfad7b6805849e19c8720267c310f6ba2df6911
Author: Frederic Cambus <fred@statdns.com>
Date: Sun, 24 Jan 2016 15:54:14 +0100
Switch back to compiling with -std=c99 instead of -std=gnu99
Diffstat:
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
@@ -30,7 +30,7 @@ if(NOT HAVE_STRTONUM)
set (SRC ${SRC} compat/strtonum.c)
endif()
-add_definitions(-Wall -Wextra -Werror -std=gnu99 -pedantic)
+add_definitions(-Wall -Wextra -Werror -std=c99 -pedantic)
add_executable(ansilove ${SRC} ${LOADERS})
target_link_libraries(ansilove ${GD_LIBRARIES} m)
diff --git a/TODO b/TODO
@@ -2,6 +2,3 @@
- Refactor stuff inherited from the PHP version
- Display mode information in summary
- Use standard C functions to parse ANSI sequences and get rid of explode
-- Drop 'strdup' in the SAUCE functions as it's not C99, and switch back to
- compiling with -std=c99 instead of -std=gnu99
-- Import documentation from the PHP version