#302 Merged at 66d4712
Repository
manhnt9
Branch
v0-8
Repository
cegui
Branch
v0-8
Author
  1. Manh Nguyen Tien
Reviewers
Description

Fix for issue https://bitbucket.org/cegui/cegui/issues/1153/undeclared-uchar-and-char16_t-types

The unicode library (LibXml2’s dependency) uses C99/C++11 type so CEGUI module fails to compile.

Solution is to change standard of the XML module, since it’s C++ code, we use C++11 instead of C99.

To not override all CMake target's language standard setting, CMake command set_property for single target must be used instead of setting global variable as set(CMAKE_CXX_STANDARD 11).

So I make CMake version requirement higher to have set_property feature available.

  • Issues #1153: Undeclared "Uchar" and "char16_t" types resolved

Comments (1)

  1. Lukas Meindl

    I trust you on this change so I merged it, thanks! If there is anythign else to add please make a follow-up PR