Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-15519

MSVC 2015: Clang backend does not acknowledge char16_t

    XMLWordPrintable

Details

    Description

      Qt Creator with the clang code model and Visual Studio 2015 as compiler does not acknowledge char16_t, char32_t , std::u16string, std::u32string. E.g.

      #include <string>
      
      int main(int argc, char *argv[])
      {
          std::string str;
          char16_t c1; // error: unknown type named char16_t
          char32_t c2; // error: unknown type named char32_t
          std::u16string str16; // error: no type named 'u16string' in namespace 'std'.
          std::u32string str32; // error: no type named 'u32string' in namespace 'std'.
      }
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kosjar Nikolai Kosjar
              kkohne Kai Köhne
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes