Commit: 588791df637a078aae20250022bc5fcd1fc07d1a
Author: Sergey Sharybin
Date:   Tue Aug 2 14:15:23 2022 +0200
Branches: master
https://developer.blender.org/rB588791df637a078aae20250022bc5fcd1fc07d1a

Fix compilation error after recent DNA changes

Apparently, Clang allows to specify underlying enum type in C
but onot GCC. The latter one is actually closer to the standard.

===================================================================

M       source/blender/makesdna/DNA_ID.h

===================================================================

diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h
index 7ba2b426fcf..0dc7d75e744 100644
--- a/source/blender/makesdna/DNA_ID.h
+++ b/source/blender/makesdna/DNA_ID.h
@@ -763,7 +763,7 @@ enum {
 };
 
 /* Tag given ID for an update in all the dependency graphs. */
-typedef enum IDRecalcFlag : unsigned int {
+typedef enum IDRecalcFlag {
   /***************************************************************************
    * Individual update tags, this is what ID gets tagged for update with. */

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to