Where is this backward_warning.h #warning coming from?

Posted by Piku on Stack Overflow See other posts from Stack Overflow or by Piku
Published on 2011-11-26T17:43:30Z Indexed on 2011/11/26 17:50 UTC
Read the original article Hit count: 227

Without looking through every single source file in my XCode project, is there a way to find out which #include is triggering the following warning?

#warning This file includes at least one deprecated or antiquated header. 
Please consider using one of the 32 headers found in section 17.4.1.2 of the 
C++ standard. Examples include substituting the <X> header for the <X.h> 
header for C++ includes, or <iostream> instead of the deprecated header 
<iostream.h>. To disable this warning use -Wno-deprecated.

Clicking on the error in XCode just opens the backward_warning.h file, which is totally useless.

I know what the warning means, I know how to fix it (when I see the file in question and can look at its #includes)... but I just don't know how to find the file causing the error!

© Stack Overflow or respective owner

Related posts about c++

Related posts about xcode