Date: Wed, 11 Oct 2000 07:20:15 -0400 (EDT) Message-Id: <200010111120.HAA06472@indy.delorie.com> From: Eli Zaretskii To: djgpp-workers AT delorie DOT com CC: Andris Pavenis , gcc AT gcc DOT gnu DOT org In-reply-to: <00101112452200.31210@hal> (message from Andris Pavenis on Wed, 11 Oct 2000 12:45:22 +0200) Subject: Re: gcc-2.97: Problems building libio for targets i[3456]86-pc-msdosdjgpp References: <00101112452200 DOT 31210 AT hal> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Andris Pavenis > Date: Wed, 11 Oct 2000 12:45:22 +0200 > > In current version of DJGPP type off_t is int and fpos_t is unsigned long. As > result libio/gen-params generates _G_config.h with > > typedef unsigned long _G_fpos_t; > typedef int _G_off_t; [snip] > ../../../egcs/libio/genops.c:472: conflicting types for `_IO_default_seekpos' > ../../../egcs/libio/libioP.h:349: previous declaration of > `_IO_default_seekpos' > ../../../egcs/libio/genops.c:556: conflicting types for `_IO_default_seekoff' > ../../../egcs/libio/libioP.h:348: previous declaration of > `_IO_default_seekoff' > ../../../egcs/libio/genops.c:887: conflicting types for `_IO_default_seek' > ../../../egcs/libio/libioP.h:358: previous declaration of `_IO_default_seek' > make[1]: *** [genops.o] Error 1 Could you please show how _IO_default_seek, _IO_default_seekoff, and _IO_default_seekpos are defined (by libioP.h, so it seems), and how are they related to the typedef's you've shown above?