On Friday 02 March 2001 10:46 pm, Leonardo Herrera wrote: > Jared Noble wrote: > [...] > > > Make runs fine until it hits diskio.c wherein it spits out the > > following error: > > > > gcc -g -O2 -Wall -c diskio.c > > diskio.c: In function `fbopen_for_read': > > diskio.c:144: structure has no member named `_fileno' > > diskio.c: In function `fbcat': > > diskio.c:324: structure has no member named `_fileno' > > *** Error code 1 > > I believe you have to change _fileno to _file to make it windoze > compatible. I believe you should use the list archives, too. No, that's not the right fix (it might work in this case) the better thing to do is change the fl->_fileno to fileno(fl) which is portable across all platforms (and if it ain't the platform doesn't meet the posix standard) Cheers, Chris -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/04/01 PST