|
From: Mojca M. <moj...@gm...> - 2013-06-22 21:00:13
|
Hi,
just to let you know: the compiler (I just updated to a newer version
of Xcode) started complaining about "missing braces":
wxterminal/wxt_gui.cpp:1500:4: warning: add explicit braces to avoid
dangling else [-Wdangling-else]
wxLogError(wxT("Cannot write raise"));
^
See also
http://stackoverflow.com/questions/12023653/how-do-i-disable-add-explicit-braces-to-avoid-dangling-else-in-new-xcode
and the comment: "imo it's a bug, but apple developer support has his
own definition of dangling-else: This is only a style warning. This
code is inherently hard to read, which is why the warning exists. If
you do not like the warning you can silence it by passing
-Wno-dangling-else to the compiler. – peko May 24 at 13:49"
It needs a trivial patch and I can send one, but only if you agree to
patch the code (= add extra braces).
Mojca
|