Xref: news-dnh.mv.net comp.os.msdos.djgpp:3044 Newsgroups: comp.os.msdos.djgpp Path: news-dnh.mv.net!mv!news.sprintlink.net!newsfeed.internetmci.com!EU.net!CERN.ch!news From: Valery Fine Subject: conflict for "open" - and Sender: news AT dxnews DOT cern DOT ch (USENET News System) Organization: CERN European Lab for Particle Physics Date: Sat, 4 Nov 1995 19:51:37 GMT Lines: 41 To: djgpp AT sun DOT soe DOT clarkson DOT edu Dj-Gateway: from newsgroup comp.os.msdos.djgpp Hello all, I've just install DJGPP v.2 to try re-install my fortan things. I did it before with dj 1.12m4. Just some problems: 1. With old libf2c.a I got undefined symbols like _iob 2. I tried to re-compile f2c RTL with Dj v.2 and just stick with problem with Dj\include, namely io.h (line 22) defines int _open(const char *_path, int _oflag); and fcntl.h (line 55) defines the same thing as int open(const char *_path, int _oflag, ...); and gcc let me d:\dj\include\fcntl.h:55: conflicting types for '_open' d:\dj\include\io.h:22: previous declaration of '_open' Yes it because F2C it self contains: #ifdef MSDOS #include "io.h" #define open _open .. #endif .. #include "fcntl.h" Could it be taken in account Thank you in advance Valery (fine AT vxcern DOT cern DOT ch)