Commit f68add78 authored by Wenzhe Yu's avatar Wenzhe Yu 😎

Fix compilation with PGI compiler suite

parent 5c99856b
......@@ -179,11 +179,24 @@ if test x"$c11_standard" = x"no"; then
AX_CHECK_COMPILE_FLAG([-std=c11], [
c11_standard=yes
], [
echo "C compiler cannot compile -std=c11 code"
echo "testing -c11.."
])
if test x"$c11_standard" = x"yes"; then
CFLAGS+=" -std=c11"
fi
fi
if test x"$c11_standard" = x"no"; then
AX_CHECK_COMPILE_FLAG([-c11], [
c11_standard=yes
], [
echo "C compiler cannot compile -c11 code"
echo "C compiler cannot compile C11 code"
exit -1
])
if test x"$c11_standard" = x"yes"; then
CFLAGS+=" -std=c11"
CFLAGS+=" -c11"
fi
fi
......
......@@ -257,6 +257,7 @@ static const elpa_index_int_entry_t int_entries[] = {
static const elpa_index_double_entry_t double_entries[] = {
/* Empty for now */
READONLY_DOUBLE_ENTRY("dummy", "dummy"),
};
void elpa_index_free(elpa_index_t index) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment