LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 26982 - modernize-deprecated-headers: cinttypes is valid only in C++11 mode GCC STL
Summary: modernize-deprecated-headers: cinttypes is valid only in C++11 mode GCC STL
Status: RESOLVED FIXED
Alias: None
Product: clang-tools-extra
Classification: Unclassified
Component: clang-tidy (show other bugs)
Version: unspecified
Hardware: All All
: P normal
Assignee: Unassigned Clang Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-17 20:57 PDT by Eugene Zelenko
Modified: 2016-09-13 16:10 PDT (History)
4 users (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Zelenko 2016-03-17 20:57:49 PDT
I tried to run modernize-deprecated-headers check with GCC 4.8 STL and cinttypes  was claimed to be valid only in C++11.

I think will be good idea if people who know standards better then me will decide how inttypes.h to cinttypes change will be handled.
Comment 1 Alexander Kornienko 2016-03-18 06:00:53 PDT
http://reviews.llvm.org/D17990 is going to improve on this.
Comment 2 Eugene Zelenko 2016-09-13 16:10:46 PDT
Fixed in r278254.