quiet various warnings, also disable -Wdouble-promotion with cmake since it gives warnings with variable length args.

This commit is contained in:
Campbell Barton
2011-04-03 10:04:16 +00:00
parent 744a3b9cb2
commit 0298d223cc
39 changed files with 90 additions and 62 deletions

View File

@@ -64,6 +64,7 @@
#endif
/* --- end bpy build options --- */
struct ID;
extern PyTypeObject pyrna_struct_meta_idprop_Type;
extern PyTypeObject pyrna_struct_Type;
@@ -192,4 +193,6 @@ void BPY_modules_update(struct bContext *C); //XXX temp solution
extern PyMethodDef meth_bpy_register_class;
extern PyMethodDef meth_bpy_unregister_class;
void BPY_id_release(struct ID *id);
#endif

View File

@@ -46,6 +46,7 @@
#include "bpy_rna.h"
#include "bpy_util.h"
#include "bpy_rna_anim.h"
#define TRUE 1
#define FALSE 0