This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

obsoleted flag


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]