BalazsJako / ColorTextEditorDemo

Demo project for https://github.com/BalazsJako/ImGuiColorTextEdit
MIT License
69 stars 28 forks source link

TextEditor::Glyph::mColorIndex is too small. #1

Closed cheako closed 6 years ago

cheako commented 6 years ago
g++ -I../cimgui/imgui -I../../include   -c -o TextEditor.o TextEditor.cpp
In file included from TextEditor.cpp:7:0:
TextEditor.h:125:30: warning: ‘TextEditor::Glyph::mColorIndex’ is too small to hold all values of ‘enum class TextEditor::PaletteIndex’
   PaletteIndex mColorIndex : 7;

This is on i686, 32bit linux.

cheako commented 6 years ago

opps wrong repo.