diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-09-26 11:22:59 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2018-09-27 10:29:48 +0200 |
commit | 2b084352b9d2fbbc56414e75bf1091361f8cb496 (patch) | |
tree | 9c143cac550a9a1e083f365d75fd9dfacfe55d87 /main/timer_sync.h | |
parent | 2893b5a6bee1f1185c52d4a46734b2741acbb52c (diff) |
Fix warnings on non-static data member initializers (C++11 feature)
We're not formally using C++11 yet so those trigger compilation warnings
(at least with GCC 5):
./main/input_default.h:122:30: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11
CursorShape default_shape = CURSOR_ARROW;
^
Note: We may allow those eventually (especially for non-int static const),
but most of current occurrences were inconsistent with all other classes.
See also http://www.stroustrup.com/C++11FAQ.html#member-init
Diffstat (limited to 'main/timer_sync.h')
0 files changed, 0 insertions, 0 deletions