forked from bartvdbraak/blender
==Nothing to see here, move along==
Try to get the yy_wrap and yy_parse definitions for IRIX. Hoping that it will also help Kent's multiply resolved warnings, I've done this so that these symbols are defined only if they are currently undefined. I'm not sure if it will work though, please test!
This commit is contained in:
parent
a05b2090a9
commit
7fb2bf5430
@ -815,7 +815,10 @@ char charBuffer[ CHAR_BUFFER_SIZE ];
|
||||
|
||||
int lineCount = 1;
|
||||
|
||||
/* extern "C" int yy_wrap (void ) { return 1; } */
|
||||
#ifndef yy_wrap
|
||||
extern "C" int yy_wrap (void ) { return 1; }
|
||||
#endif
|
||||
|
||||
#define YY_NO_UNISTD_H
|
||||
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
@ -46,6 +46,13 @@
|
||||
#define YYLSP_NEEDED 0
|
||||
|
||||
/* Substitute the variable and function names. */
|
||||
|
||||
#ifndef yy_parse
|
||||
#define yyparse yy_parse
|
||||
/* the parse function from bison */
|
||||
int yy_parse( void );
|
||||
#endif
|
||||
|
||||
#define yylex yy_lex
|
||||
#define yyerror yy_error
|
||||
#define yylval yy_lval
|
||||
@ -294,9 +301,6 @@ extern int yy_lex();
|
||||
extern int lineCount;
|
||||
extern FILE *yy_in;
|
||||
|
||||
/* the parse function from bison */
|
||||
extern int yy_parse( void );
|
||||
|
||||
// local variables to access objects
|
||||
#include "solver_interface.h"
|
||||
#include "simulation_object.h"
|
||||
|
Loading…
Reference in New Issue
Block a user