[Bf-blender-cvs] [fb9e939338f] soc-2020-info-editor: Cleanup: use standardized macro instead of __attribute__

Mateusz Grzeliński noreply at git.blender.org
Wed Aug 12 14:46:58 CEST 2020


Commit: fb9e939338f821cbbda7ec9d49199112ff040c85
Author: Mateusz Grzeliński
Date:   Wed Aug 12 14:46:48 2020 +0200
Branches: soc-2020-info-editor
https://developer.blender.org/rBfb9e939338f821cbbda7ec9d49199112ff040c85

Cleanup: use standardized macro instead of __attribute__

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

M	intern/clog/CLG_log.h

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

diff --git a/intern/clog/CLG_log.h b/intern/clog/CLG_log.h
index bd5b26ab9ee..b88df63f079 100644
--- a/intern/clog/CLG_log.h
+++ b/intern/clog/CLG_log.h
@@ -277,7 +277,7 @@ void CLG_logref_init(CLG_LogRef *clg_ref);
           if (log_level > _lg_ty->level) { \
             break; \
           } \
-          __attribute__((fallthrough)); \
+          ATTR_FALLTHROUGH; \
         default: \
           CLG_logf(_lg_ty, \
                    severity, \
@@ -306,7 +306,7 @@ void CLG_logref_init(CLG_LogRef *clg_ref);
           if (log_level > _lg_ty->level) { \
             break; \
           } \
-          __attribute__((fallthrough)); \
+          ATTR_FALLTHROUGH; \
         default: \
           CLG_log_str( \
               _lg_ty, severity, log_level, __FILE__ ":" STRINGIFY(__LINE__), __func__, str); \
@@ -335,7 +335,7 @@ void CLG_logref_init(CLG_LogRef *clg_ref);
           if (log_level > _lg_ty->level) { \
             break; \
           } \
-          __attribute__((fallthrough)); \
+          ATTR_FALLTHROUGH; \
         default: { \
           const char *_str = str; \
           CLG_log_str( \



More information about the Bf-blender-cvs mailing list