Bug#831094: attal: FTBFS with GCC 6: cmath:568:33: error: 'FP_NAN' was not declared in this scope
Juhani Numminen
juhaninumminen0 at gmail.com
Fri Dec 1 12:49:27 UTC 2017
Control: tags -1 patch
Hello!
I made attal to build again by removing "#undef __USE_ISOC99", so I'm
adding the patch tag.
However, as I don't know why those undefs were added in the first place,
so this change might be breaking something. All I know is the build was
completed and I could install the package and start the executable.
Cheers,
Juhani
--- a/libCommon/genericMap.cpp
+++ b/libCommon/genericMap.cpp
@@ -27,7 +27,6 @@
#include "genericMap.h"
// generic include files
-#undef __USE_ISOC99
#include <math.h>
// include files for QT
#include <QFile>
--- a/libServer/fightAnalyst.cpp
+++ b/libServer/fightAnalyst.cpp
@@ -27,7 +27,6 @@
#include "fightAnalyst.h"
// generic include files
-#undef __USE_ISOC99
#include <math.h>
#include <stdlib.h>
More information about the Pkg-games-devel
mailing list