obsoleted flag

Igor Schein igorschein@eudoramail.com
Tue Jan 11 14:24:00 GMT 2000


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


More information about the Gcc-help mailing list