This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
obsoleted flag
- To: gcc-help at gcc dot gnu dot org
- Subject: obsoleted flag
- From: "Igor Schein" <igorschein at eudoramail dot com>
- Date: Tue, 11 Jan 2000 17:23:46 -0500
- Cc: igor at txc dot com
- Organization: QUALCOMM Eudora Web-Mail (http://www.eudoramail.com:80)
Hi,
some time between egcs-1.1.2 and gcc-2.96, -fenum-int-equiv was
obsoleted.
As a result, I can't compile the following simple program with g++
////////////////////////////////////////////////////////////////////////
#include <sys/time.h>
#include <sys/resource.h>
#include <unistd.h>
main(){
struct rusage r;
(void)getrusage(0,&r);
}
////////////////////////////////////////////////////////////////////////
i don't want to cast 1st argument explicitely, because it's highly
non-portable. So, is there a g++-2.96 flag which would allow me to
compile the program above as is?
Thanks
Igor
Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com