summaryrefslogtreecommitdiff
path: root/src/drivers/WinAPI/Fl_WinAPI_Gl_Window_Driver.H
diff options
context:
space:
mode:
authorZJUGKC <yxxinyuan@zju.edu.cn>2022-03-20 15:45:08 +0800
committerAlbrecht Schlosser <albrechts.fltk@online.de>2022-03-26 18:00:50 +0100
commit6f06265e86c910b32fb31d23954a186c86d9ef1f (patch)
tree515166c99ec0291036bca4bf3515cbc7b695ece8 /src/drivers/WinAPI/Fl_WinAPI_Gl_Window_Driver.H
parente9b1c2fed092c9952464cc7999bf4a5c27ab250b (diff)
Add UTF-8 encoding support in setup.cmake for MSVC (PR #415)
The source files are all encoded by UTF-8 without BOM. This will raise warnings and errors when compiling by the MSVC with some active code pages (ACP). The file `test/ask.cxx` contains such characters with UTF-8 encoding. Adding `/utf-8` here is equivalent to specifying `/source-charset:utf-8 /execution-charset:utf-8`, and all warnings and errors are removed.
Diffstat (limited to 'src/drivers/WinAPI/Fl_WinAPI_Gl_Window_Driver.H')
0 files changed, 0 insertions, 0 deletions