itkin@mrspoc.Transact.COM (Steven M. List) (04/13/91)
I've gotten the 4.0 sources, and am trying to build them. I read Ronald Khoo's commentary about ndir vs. dirent, and did as he suggested, removing the "!defined(M_XENIX)" to get past several compile errors. Now I'm having a problem with the "#ifdef __STDC__" stuff that either does or doesn't include the "extern char **environ;". Apparently, through the auspices of the compiler, __STDC__ is being defined. It doesn't seem to matter whether I use CC or GCC, unfortunately (I wrote a little test program to determine whether __STDC__ is defined). As a result, the extern declaration is NOT included and the compilation of doarg.c fails. As will other modules (like util.c). Please help me! I'm very frustrated. I tried the -traditional flag for GCC, but that caused all sorts of other errors. ARGH! Steven -- +----------------------------------------------------------------------------+ : Steven List @ Transact Software, Inc. :^>~ : : Chairman, Unify User Group of Northern California : : itkin@Transact.COM :