jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=247d25aa99b6dd461ce82f61fa8345f86c157b0f

commit 247d25aa99b6dd461ce82f61fa8345f86c157b0f
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Fri Nov 10 12:19:53 2017 +0900

    cxx: Fix example for GCC
    
    clang has no problem, but GCC complains with "support not implemented"
    Discovered with distcheck
---
 src/examples/elementary/clock_cxx_example.cc | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/examples/elementary/clock_cxx_example.cc 
b/src/examples/elementary/clock_cxx_example.cc
index a290c08267..7e30937c2c 100644
--- a/src/examples/elementary/clock_cxx_example.cc
+++ b/src/examples/elementary/clock_cxx_example.cc
@@ -21,9 +21,14 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev 
EINA_UNUSED)
    ck2.format_set("%I:%M %p");
    bx.pack_end(ck2);
 
+   Efl_Time time;
+   time.tm_hour = 12;
+   time.tm_min = 42;
+   time.tm_sec = 59;
+
    efl::ui::Clock ck3(instantiate, win);
    ck2.format_set("%H:%M:%S");
-   ck3.time_set(Efl_Time({.tm_hour = 12, .tm_min = 42, .tm_sec = 59}));
+   ck3.time_set(time);
    bx.pack_end(ck3);
 
    efl::ui::Clock ck5(instantiate, win);

-- 


Reply via email to