Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-10-06 04:42:30 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-10-06 04:42:30 +0400
commit39a96e9e3fab5347497da004e71227c651e8604e (patch)
tree796eb7baafb085236eb8870dbcca4f752513cc83 /source/blender/makesdna
parentba470956274cc4086ee153e4f9bdda9d2ff714f5 (diff)
disable padding warning for DNA, gave problems with struct bounds padding which DNA ignores.
tag operator callbacks as needing their return values used. These are not directly called in many places so the inconvenience is minimal.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/intern/makesdna.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesdna/intern/makesdna.c b/source/blender/makesdna/intern/makesdna.c
index 88c5ea3e910..494cb875169 100644
--- a/source/blender/makesdna/intern/makesdna.c
+++ b/source/blender/makesdna/intern/makesdna.c
@@ -1186,6 +1186,9 @@ int main(int argc, char **argv)
return(return_status);
}
+/* handy but fails on struct bounds which makesdna doesnt care about
+ * unless structs are nested */
+#if 0
/* include files for automatic dependencies */
/* extra safety check that we are aligned,
@@ -1194,6 +1197,8 @@ int main(int argc, char **argv)
# pragma GCC diagnostic error "-Wpadded"
#endif
+#endif /* if 0 */
+
#include "DNA_listBase.h"
#include "DNA_vec_types.h"
#include "DNA_ID.h"