Date: Fri, 18 Nov 1994 09:55:27 +0000 (MET) From: erik AT tntnhb3 DOT tn DOT tudelft DOT nl (Erik Luijten) Subject: djgppstd.h question To: djgpp AT sun DOT soe DOT clarkson DOT edu Hi! I would like to ask a question about the file djgppstd.h. I have used DJGPP several times now to compile UNIX-programs on my PC, and it works wonderful. However, quite often I have problems with conflicting declarations of functions. E.g., there are programs that declare somewhere void exit(); after having included djgppstd.h as well (via stdio.h or some other headerfile). There exit is declared as: void volatile exit(int); which is incompatible with the other declaration. I have solved this by commenting out the declaration in the program, but it I was wondering why these functions have the type qualifier `volatile' in djgppstd.h. E.g., on my Iris Indigo the programs compile without problems, because the standard-headerfiles declare exit simply as void. Sorry if this is a faq, I have started using DJGPP two weeks ago... Thanks for your answers, Erik -- Erik Luijten | Theoretical Physics Section erik AT tntnhb3 DOT tn DOT tudelft DOT nl | Faculty of Applied Physics | Delft University of Technology tel. +31-15-786378 | P.O. Box 5046 fax +31-15-781203 | 2600 GA Delft --- The Netherlands