projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebfdf61
)
Fix clang compiler warning
author
Claire Wolf
<claire@symbioticeda.com>
Fri, 8 May 2020 08:13:39 +0000
(10:13 +0200)
committer
Claire Wolf
<claire@symbioticeda.com>
Fri, 8 May 2020 08:13:39 +0000
(10:13 +0200)
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
kernel/yosys.h
patch
|
blob
|
history
diff --git
a/kernel/yosys.h
b/kernel/yosys.h
index 62f76a63fe6c6f24f853ec6d42b0ce052a2a6497..c922faf26848075049401853579d55dfee534e60 100644
(file)
--- a/
kernel/yosys.h
+++ b/
kernel/yosys.h
@@
-157,10
+157,10
@@
extern Tcl_Obj *Tcl_ObjSetVar2(Tcl_Interp *interp, Tcl_Obj *part1Ptr, Tcl_Obj *p
#if __cplusplus >= 201703L
# define YS_FALLTHROUGH [[fallthrough]];
-#elif defined(__GNUC__)
-# define YS_FALLTHROUGH [[gnu::fallthrough]];
#elif defined(__clang__)
# define YS_FALLTHROUGH [[clang::fallthrough]];
+#elif defined(__GNUC__)
+# define YS_FALLTHROUGH [[gnu::fallthrough]];
#else
# define YS_FALLTHROUGH
#endif