[A] Added build with old C standard
This commit is contained in:
parent
10d87cc6b2
commit
703e6451f2
@ -126,6 +126,15 @@ script:
|
||||
export CXX=${FORT_CXX_COMPILER};
|
||||
fi
|
||||
|
||||
# basic build with old c standard
|
||||
- |
|
||||
if [ "${BASIC_LINUX_GCC}" = "yes" ]; then
|
||||
cd lib
|
||||
gcc -Wextra -Wall -Werror --std=c89 fort.c -c -o fort.o
|
||||
rm fort.o
|
||||
cd ..
|
||||
fi
|
||||
|
||||
# cppcheck run
|
||||
- |
|
||||
if [ "${BASIC_LINUX_GCC}" = "yes" ]; then
|
||||
|
@ -1741,7 +1741,6 @@ const char *ft_to_string(const ft_table_t *table)
|
||||
const fort_row_t *, const fort_row_t *,
|
||||
enum HorSeparatorPos, const separator_t *,
|
||||
const context_t *) = print_row_separator;
|
||||
// int (*snprint_n_chars_)(char *, size_t, size_t, char) = snprint_n_chars;
|
||||
int (*snprint_n_strings_)(char *, size_t, size_t, const char *) = snprint_n_strings;
|
||||
assert(table);
|
||||
|
||||
@ -1843,7 +1842,6 @@ const wchar_t *ft_to_wstring(const ft_table_t *table)
|
||||
const fort_row_t *, const fort_row_t *,
|
||||
enum HorSeparatorPos, const separator_t *,
|
||||
const context_t *) = wprint_row_separator;
|
||||
// int (*snprint_n_chars_)(wchar_t *, size_t, size_t, wchar_t) = wsnprint_n_chars;
|
||||
int (*snprint_n_strings_)(wchar_t *, size_t, size_t, const char *) = wsnprint_n_string;
|
||||
|
||||
|
||||
|
@ -586,7 +586,6 @@ const char *ft_to_string(const ft_table_t *table)
|
||||
const fort_row_t *, const fort_row_t *,
|
||||
enum HorSeparatorPos, const separator_t *,
|
||||
const context_t *) = print_row_separator;
|
||||
// int (*snprint_n_chars_)(char *, size_t, size_t, char) = snprint_n_chars;
|
||||
int (*snprint_n_strings_)(char *, size_t, size_t, const char *) = snprint_n_strings;
|
||||
assert(table);
|
||||
|
||||
@ -688,7 +687,6 @@ const wchar_t *ft_to_wstring(const ft_table_t *table)
|
||||
const fort_row_t *, const fort_row_t *,
|
||||
enum HorSeparatorPos, const separator_t *,
|
||||
const context_t *) = wprint_row_separator;
|
||||
// int (*snprint_n_chars_)(wchar_t *, size_t, size_t, wchar_t) = wsnprint_n_chars;
|
||||
int (*snprint_n_strings_)(wchar_t *, size_t, size_t, const char *) = wsnprint_n_string;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user