https://bugs.llvm.org/show_bug.cgi?id=46797
Bug ID: 46797
Summary: 'ab' is a valid char constant; is an error with
-pedantic-errors
Product: clang
Version: 10.0
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C
Assignee: unassignedclangb...@nondot.org
Reporter: tyde...@tybor.com
CC: blitzrak...@gmail.com, dgre...@apple.com,
erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
richard-l...@metafoo.co.uk
The C standard says [Character constants clause]: The value of an integer
character constant containing more thane one character (e.g., 'ab') ... is
implementation defined.
clang with -pedantic-errors considers it an error.
--
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