https://bugs.llvm.org/show_bug.cgi?id=42481

            Bug ID: 42481
           Summary: locale::global fails to initialize with curly braces
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: C++
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]

Here is the syntax error I got. I copied the language off of page 1116 in "The
C++ Programming Language" book so I know it should work.

./Anti-Terror/mainwindow.cpp:45:27: error: expected ')'

locale::global(locale {"en_US.UTF-8"});

^

../Anti-Terror/mainwindow.cpp:45:19: note: to match this '('

locale::global(locale {"en_US.UTF-8"});

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to