http://llvm.org/bugs/show_bug.cgi?id=12837
Bug #: 12837
Summary: Detect "%Zu" printf format specifier and suggest "%zu"
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Apparently some old libc used 'Z' as a length modifier for size_t printf
arguments. C99 standardized 'z' for this purpose; we should detect the former
and give a nice note suggesting the latter. (Right now we just say "invalid
conversion specifier 'Z'".)
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs