Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
8fef36c6
Commit
8fef36c6
authored
Sep 22, 2013
by
Jan Djärv
Browse files
* conf_post.h (assume): Fix compiler error: x shall be cond.
parent
cd9356f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
src/ChangeLog
src/ChangeLog
+4
-0
src/conf_post.h
src/conf_post.h
+1
-1
No files found.
src/ChangeLog
View file @
8fef36c6
2013-09-22 Jan Djärv <jan.h.d@swipnet.se>
* conf_post.h (assume): Fix compiler error: x shall be cond.
2013-09-22 Daniel Colascione <dancol@dancol.org>
* xfns.c (x_get_monitor_attributes): Suppress unused variable
...
...
src/conf_post.h
View file @
8fef36c6
...
...
@@ -253,7 +253,7 @@ extern void _DebPrint (const char *fmt, ...);
#if defined lint
# define assume(cond) ((cond) ? (void) 0 : abort ())
#elif (__GNUC__ == 4 && __GNUC_MINOR__ >= 5) || __GNUC__ > 4
# define assume(cond) ((
x
) || (__builtin_unreachable(), 0))
# define assume(cond) ((
cond
) || (__builtin_unreachable(), 0))
#elif defined __MSC_VER
# define assume(cond) __assume ((cond))
#else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment