[llvm-bugs] [Bug 46797] New: 'ab' is a valid char constant; is an error with -pedantic-errors
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jul 21 15:39:46 PDT 2020
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: unassignedclangbugs at nondot.org
Reporter: tydeman at tybor.com
CC: blitzrakete at gmail.com, dgregor at apple.com,
erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
richard-llvm at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200721/8f8bfaba/attachment.html>
More information about the llvm-bugs
mailing list