[LLVMbugs] [Bug 15080] New: #pragma region in non Utf sources

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jan 27 08:09:07 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=15080

             Bug #: 15080
           Summary: #pragma region in non Utf sources
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: zapadinsky at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


This problem appears recently, it was ok in November.

In my case the source file is in Win1251 encoding.
clang process all the cyrillic characters normally but on "#pragma region" it
issue this error:

../Src/Dictionary/DictionaryBuilder.h:17:17: error: source file is not valid
UTF-8
#pragma region <D1><F2><E0><F2><E8><F1><F2><E8><EA><E0>
<F1><EB><EE><E2><E0><F0><FF>

-Wno-invalid-source-encoding and -Wno-error=invalid-source-encoding do not help

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list