www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/10/11/07:20:32

Date: Wed, 11 Oct 2000 07:20:15 -0400 (EDT)
Message-Id: <200010111120.HAA06472@indy.delorie.com>
From: Eli Zaretskii <eliz AT delorie DOT com>
To: djgpp-workers AT delorie DOT com
CC: Andris Pavenis <pavenis AT latnet DOT lv>, 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

> From: Andris Pavenis <pavenis AT latnet DOT lv>
> 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?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019