public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* obsoleted flag
@ 2000-01-11 14:24 Igor Schein
  2000-04-01  0:00 ` Igor Schein
  0 siblings, 1 reply; 2+ messages in thread
From: Igor Schein @ 2000-01-11 14:24 UTC (permalink / raw)
  To: gcc-help; +Cc: igor

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* obsoleted flag
  2000-01-11 14:24 obsoleted flag Igor Schein
@ 2000-04-01  0:00 ` Igor Schein
  0 siblings, 0 replies; 2+ messages in thread
From: Igor Schein @ 2000-04-01  0:00 UTC (permalink / raw)
  To: gcc-help; +Cc: igor

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-04-01  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-11 14:24 obsoleted flag Igor Schein
2000-04-01  0:00 ` Igor Schein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).