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: unassignedclangb...@nondot.org
          Reporter: la...@refusetoown.com
                CC: blitzrak...@gmail.com, dgre...@apple.com,
                    erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
                    richard-l...@metafoo.co.uk

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
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to