mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
Compilation fixes for more recent compilers
This commit is contained in:
parent
f7df64c768
commit
d8c321232d
3 changed files with 34 additions and 2 deletions
3
external/external_build.cmake
vendored
3
external/external_build.cmake
vendored
|
@ -6,7 +6,8 @@ OPTION(SDF_SUPPORT "Set to Yes to activate support for SDF" ON)
|
|||
IF(ENABLE_OPENMP)
|
||||
|
||||
IF (NOT OPENMP_FOUND)
|
||||
MESSAGE(FATAL_ERROR "No known compiler option for enabling OpenMP")
|
||||
MESSAGE(WARNING "No known compiler option for enabling OpenMP")
|
||||
SET(ENABLE_OPENMP FALSE)
|
||||
ENDIF(NOT OPENMP_FOUND)
|
||||
|
||||
ENDIF(ENABLE_OPENMP)
|
||||
|
|
32
external/patch_sdf
vendored
32
external/patch_sdf
vendored
|
@ -62,3 +62,35 @@
|
|||
{
|
||||
int int_value;
|
||||
float float_value;
|
||||
--- SDF-parse.c.old 2021-04-15 15:44:40.000000000 +0200
|
||||
+++ SDF-parse.c 2021-04-15 15:45:48.000000000 +0200
|
||||
@@ -87,8 +87,6 @@
|
||||
#define LEXERROR 265
|
||||
|
||||
|
||||
-
|
||||
-
|
||||
/* Copy the first part of user declarations. */
|
||||
#line 1 "SDF-parse.y"
|
||||
|
||||
@@ -117,6 +115,9 @@
|
||||
#define yydebug SDFyydebug
|
||||
#define yynerrs SDFyynerrs
|
||||
|
||||
+extern int yylex(void);
|
||||
+extern int Msg_on(int level);
|
||||
+
|
||||
#include <stdarg.h>
|
||||
#include <inttypes.h>
|
||||
#include <float.h>
|
||||
--- SDFfuncs.c.old 2014-06-04 07:22:26.000000000 +0200
|
||||
+++ SDFfuncs.c 2021-04-15 15:46:29.000000000 +0200
|
||||
@@ -44,6 +44,8 @@
|
||||
char SDFerrstring[256];
|
||||
extern int SDFyyparse(void);
|
||||
|
||||
+extern void Msg_on(int);
|
||||
+
|
||||
int SDFdebug(int level)
|
||||
{
|
||||
sdf_debug = level;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue