doug@dept.csci.unt.edu (Douglas Scott) (06/30/90)
I have just loaded a large chunk of C code to my (new) NeXT, and while chewing my fingernails I have attempted to compile it to see what all will need to be altered to make it work. Immediately I get errors saying that sprintf() has been redefined, etc., which is fatal. The manual page says that -bsd will fix this problem, and when I studied /usr/include/stdio.h I see that the #ifdef statements there declare sprintf(), etc., to be char* (like they are in standard BSD Unix) when __STRICT_BSD__ is defined, which it supposedly IS when the -bsd option is used. The error messages did not change though, after adding the option. AND, when I did a preprocessor pass and looked at the results, the ifdefs apparently didnt work, since the sprintf() function is still declared as int. I am stranded until I can fix this...I NEED sprintf() to be char* ! Am I missing something? Has anybody else had this particular form of the NeXT-Porting Blues? Thanks in advance!! -- ___________________________________________________________________________ Douglas Scott doug@dept.csci.unt.edu