deprecated headers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lovualways
    New Member
    • Nov 2008
    • 2

    deprecated headers

    I tried solving the knight,s tour problem........ ........I get the following msg while compiling:
    #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.
    #endif

    #endif


    the program is running but I am unable to get through the above msg............ ...can anyone suggest some help?


    pleasw
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    Originally posted by lovualways
    Examples include substituting the <X> header for the <X.h> header for C++ includes
    Have you actually read this piece of the error message and then examined your included files and tried doing it?

    Comment

    • Banfa
      Recognized Expert Expert
      • Feb 2006
      • 9067

      #3
      Please do not double post your questions. Please read the Posting Guidelines.

      Banfa
      Administrator

      Comment

      • lovualways
        New Member
        • Nov 2008
        • 2

        #4
        yes I did

        i tried it but to no result......... ....the message comes in again

        Comment

        • Banfa
          Recognized Expert Expert
          • Feb 2006
          • 9067

          #5
          If you think you have correct modified all the required headers I suggest you post them so we can see them.

          Also it would be helpful if you posted the exact error messages that you are getting in full (including file names and line numbers).

          Comment

          Working...