https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69521
Loïc Yhuel <loic.yhuel at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |loic.yhuel at gmail dot com --- Comment #1 from Loïc Yhuel <loic.yhuel at gmail dot com> --- > If it's easier to do, perhaps using a deprecated function in a deprecated > function shouldn't produce a warning (deprecated code would be able to use > other deprecated code). Clang seems to do this. Testing with clang 3.7, the 3 cases (first code, second code in C++ mode, second code in C mode) don't produce any warning, unless I remove the deprecated attribute from qLowerBound.