I believe this is happening because of the following line in
std_lib_facilities.h:
#include <ext/hash_map>
If we open backward_warning.h we'll see it states on line 50 to use
<unordered_map> instead of <ext/hash_map>, the header <ext/hash_map>
appears to be deprecated. I tried using <unordered_map>, but that
introduced new errors :) Hopefully we'll get a std_lib_facilities.h
update some day. BTW, I'm using GNU compiler g++.
On Mon, May 21, 2012 at 6:11 PM, Brian wrote:
> I am getting a compiler error "This file includes at least one
> deprecated or antiquated header which \ may be removed without
> further notice at a future date. Please use a \ non-deprecated
> interface with equivalent functionality instead. For a \ listing of
> replacement headers and interfaces, consult the file \
> backward_warning.h."
> I had a look at std_lib_facilities.h but editing it is a bit beyond
> me. Has anyone successfully updated it?
> Thanks
> Brian
>
> --
> You received this message because you are subscribed to the Google Groups "PPP-public" group.
> To post to this group, send email to ppp-p...@googlegroups.com.
> To unsubscribe from this group, send email to ppp-public+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "PPP-public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ppp-public+...@googlegroups.com.
To post to this group, send email to ppp-p...@googlegroups.com.
Visit this group at http://groups.google.com/group/ppp-public.
For more options, visit https://groups.google.com/d/optout.
std_lib_facilities.h is supposed to be in the include folder so that you don't have to #include all the header files you usually have to (it's a clever move by the authors in my opinion because it takes your mind off remembering all those header files based on what you're trying to implement). All you have to do is #include "std_lib_facilities.h"; and you're good to go. Maybe that helps...
On Sunday, August 31, 2014, Jamaal Hunt <huntj...@hotmail.com> wrote:
I'm curious and it is kinda a dumb question. Am I supposed to copy everything including the point he made to his students?--/*simple "Programming: Principles and Practice using C++" course header tobe used for the first few weeks.It provides the most common standard headers (in the global namespace)and minimal exception/error support.Students: please don't try to understand the details of headers just yet.All will be explained. This header is primarily used so that you don't haveto understand every concept all at once.Revised April 25, 2010: simple_error() added*/
You received this message because you are subscribed to the Google Groups "PPP-public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ppp-public+unsubscribe@googlegroups.com.
To post to this group, send email to ppp-p...@googlegroups.com.
Visit this group at http://groups.google.com/group/ppp-public.
For more options, visit https://groups.google.com/d/optout.
----Kind Regards,
Adrian Mowrey