mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
interrogate should look in /usr/include
This commit is contained in:
parent
9e9410d1bb
commit
bb33020f89
@ -522,10 +522,10 @@ Warning: Variable $[upcase $[tree]]_INSTALL is not set!
|
|||||||
// Caution! interrogate_ipath might be redefined in the
|
// Caution! interrogate_ipath might be redefined in the
|
||||||
// Global.platform.pp file.
|
// Global.platform.pp file.
|
||||||
#defer interrogate_ipath $[target_ipath:%=-I%]
|
#defer interrogate_ipath $[target_ipath:%=-I%]
|
||||||
#defer interrogate_spath $[install_parser_inc_dir:%=-S%]
|
#defer interrogate_spath $[install_parser_inc_dir:%=-S%] -S/usr/include
|
||||||
|
|
||||||
#defer interrogate_options \
|
#defer interrogate_options \
|
||||||
-DCPPPARSER -D__cplusplus $[SYSTEM_IGATE_FLAGS] \
|
-DCPPPARSER -D__STDC__ -D__cplusplus $[SYSTEM_IGATE_FLAGS] \
|
||||||
$[interrogate_spath] $[interrogate_ipath] \
|
$[interrogate_spath] $[interrogate_ipath] \
|
||||||
$[CDEFINES_OPT$[OPTIMIZE]:%=-D%] \
|
$[CDEFINES_OPT$[OPTIMIZE]:%=-D%] \
|
||||||
$[filter -D%,$[C++FLAGS]] \
|
$[filter -D%,$[C++FLAGS]] \
|
||||||
|
@ -1192,6 +1192,11 @@ instance_identifier:
|
|||||||
{
|
{
|
||||||
$$ = $1;
|
$$ = $1;
|
||||||
$$->add_array_modifier($3);
|
$$->add_array_modifier($3);
|
||||||
|
}
|
||||||
|
| instance_identifier ':' INTEGER
|
||||||
|
{
|
||||||
|
// bitfield definition. We ignore the bitfield for now.
|
||||||
|
$$ = $1;
|
||||||
}
|
}
|
||||||
| '(' instance_identifier ')'
|
| '(' instance_identifier ')'
|
||||||
{
|
{
|
||||||
|
@ -425,8 +425,6 @@ main(int argc, char *argv[]) {
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
parser._system_include_path.append_directory("/usr/include");
|
|
||||||
|
|
||||||
output_code_filename.set_text();
|
output_code_filename.set_text();
|
||||||
output_data_filename.set_text();
|
output_data_filename.set_text();
|
||||||
output_data_basename = output_data_filename.get_basename();
|
output_data_basename = output_data_filename.get_basename();
|
||||||
|
@ -2,4 +2,4 @@
|
|||||||
algorithm deque ft2build.h iostream list map memory \
|
algorithm deque ft2build.h iostream list map memory \
|
||||||
pair queue set stack stdcompare.h stdtypedefs.h \
|
pair queue set stack stdcompare.h stdtypedefs.h \
|
||||||
string vector windows.h zlib.h md5.h files.h hex.h \
|
string vector windows.h zlib.h md5.h files.h hex.h \
|
||||||
nurbs.hh
|
nurbs.hh stddef.h
|
||||||
|
30
dtool/src/parser-inc/stddef.h
Normal file
30
dtool/src/parser-inc/stddef.h
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
// Filename: stddef.h
|
||||||
|
// Created by: drose (26Sep02)
|
||||||
|
//
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
//
|
||||||
|
// PANDA 3D SOFTWARE
|
||||||
|
// Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved
|
||||||
|
//
|
||||||
|
// All use of this software is subject to the terms of the Panda 3d
|
||||||
|
// Software license. You should have received a copy of this license
|
||||||
|
// along with this source code; you will also find a current copy of
|
||||||
|
// the license at http://www.panda3d.org/license.txt .
|
||||||
|
//
|
||||||
|
// To contact the maintainers of this program write to
|
||||||
|
// panda3d@yahoogroups.com .
|
||||||
|
//
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
// This file, and all the other files in this directory, aren't
|
||||||
|
// intended to be compiled--they're just parsed by CPPParser (and
|
||||||
|
// interrogate) in lieu of the actual system headers, to generate the
|
||||||
|
// interrogate database.
|
||||||
|
|
||||||
|
#ifndef STDDEF_H
|
||||||
|
#define STDDEF_H
|
||||||
|
|
||||||
|
#include <stdtypedefs.h>
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
@ -29,6 +29,7 @@ typedef int off_t;
|
|||||||
typedef unsigned int time_t;
|
typedef unsigned int time_t;
|
||||||
typedef int ptrdiff_t;
|
typedef int ptrdiff_t;
|
||||||
typedef int clock_t;
|
typedef int clock_t;
|
||||||
|
typedef int wchar_t;
|
||||||
|
|
||||||
typedef unsigned int uint;
|
typedef unsigned int uint;
|
||||||
typedef unsigned long ulong;
|
typedef unsigned long ulong;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user