History

Amend static assert structure so variable name does not match the structure name, which conflicts with some compilers in C++ mode.

Christopher Snowhill committed 9 years ago

Commit 87488671 parent d6dd2ac1 file · +1 −1Browse files

Unified · Split

include/dumb.h+1−1
@@ -121,7 +121,7 @@ typedef long long dumb_off_t; · 120 unmodified lines
121121 _Static_assert(sizeof(dumb_off_t) >= 8, "fuse: off_t must be 64bit");
122122 #else
123123 struct dumb_off_t_needs_to_be_at_least_8_bytes {
124− unsigned int dumb_off_t_needs_to_be_at_least_8_bytes
124+ unsigned int dumb_off_t_needs_to_be_at_least_8_bytes_
125125 : ((sizeof(dumb_off_t) >= 8) ? 1 : -42);
126126 };
127127 #endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t