Fix 1990/theorem/Makefile for clang in linux

Disabled a warning that defaulted to an error. In this case it was
easier to do it this way due to the way the entry works.
This commit is contained in:
Cody Boone Ferguson committed 2023-07-07 10:47:11 -07:00
1 parent 2d326bd53b
commit 7a96697c4c
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ include ../../var.mk
CSILENCE= -Wno-deprecated-declarations -Wno-empty-body -Wno-error -Wno-unused-value \
-Wno-implicit-function-declaration -Wno-incompatible-pointer-types \
-Wno-macro-redefined -Wno-parentheses -Wno-return-type -Wno-unused-parameter \
-Wno-empty-translation-unit
-Wno-empty-translation-unit -Wno-int-conversion
# Common C compiler warning flags
#
+4
View File
@@ -424,6 +424,10 @@ and to prevent a warning about `gets()` at linking or runtime. Since this
program is so incredible the extra fixes were deemed worth having and this is why
it was done.
Cody disabled a warning in the Makefile that proved to be a problem only with
clang in linux but which was defaulting to an error. This way was the simplest
way to deal with the problem in question due to the way the entry works.
Yusuke pointed out that `atof` nowadays needs `#include <stdlib.h>` which was
used in order to get this to work initially (prior to this output was there but
incomplete).