On 2017-04-20, Guillaume MM wrote: > ../../src/insets/InsetSpecialChar.cpp: In member function ‘virtual > lyx::docstring lyx::InsetSpecialChar::toolTip(const lyx::BufferView&, > int, int) const’: > ../../src/insets/InsetSpecialChar.cpp:92:9: warning: enumeration value > ‘LDOTS’ not handled in switch [-Wswitch] > switch (kind_) { > ^ > ../../src/insets/InsetSpecialChar.cpp:92:9: warning: enumeration value > ‘MENU_SEPARATOR’ not handled in switch [-Wswitch] > ../../src/insets/InsetSpecialChar.cpp:92:9: warning: enumeration value > ‘PHRASE_LYX’ not handled in switch [-Wswitch] > ../../src/insets/InsetSpecialChar.cpp:92:9: warning: enumeration value > ‘PHRASE_TEX’ not handled in switch [-Wswitch] > ../../src/insets/InsetSpecialChar.cpp:92:9: warning: enumeration value > ‘PHRASE_LATEX2E’ not handled in switch [-Wswitch] > ../../src/insets/InsetSpecialChar.cpp:92:9: warning: enumeration value > ‘PHRASE_LATEX’ not handled in switch [-Wswitch]
This is a result of the addition of tooltips for some special chars (where the symbol in the GUI is a bit ambiguous...). No tooltips for the values above is the intended behaviour. What would be the correct way to silence the warnings? Günter