This is the mail archive of the gcc@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]

Newbie questions... (crypt())



I just installed redhat 5.1 (Intel).  It comes with egcs, so I thought
I'd give it a whirl.  It caught several (non-fatal) mistakes in my code,
so I'm already impressed with it!

However, I use the crypt method:  char* crypt(const char*, const char*)
in my program.  egcs does not like it.  I popped up the man page, and
it says you need to #define _XOPEN_SOURCE
and #include <unistd.h>

I tried this, and still no luck.  Any information would be appreciated..

Ben

Ben Greear (greear@cyberhighway.net)  http://www.primenet.com/~greear 
Author of ScryMUD:  mud.primenet.com 4444
http://www.primenet.com/~greear/ScryMUD/scry.html



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