www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/10/25/11:00:59

Date: Wed, 25 Oct 1995 15:55:20 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Andrew McCaffrey <fenric AT clark DOT net>
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu, djgpp-v2
Subject: Re: Problem with movedata.h?

On 24 Oct 1995, Andrew McCaffrey wrote:

> I include the sys/movedata.h file after including dos.h in a program I am 
> writing.  When I run make, here is what I get:
> 
> In file included from include/gfx.h:5,
>                  from src/main.cc:2:
> e:/djgpp/2.0/include/sys/movedata.h:15: warning: type specifier omitted 
> for parameter

It seems to be a bug in <sys/movedata.h> : it should have
#include <sys/djtypes.h> near the beginning, but it doesn't.  This makes 
`size_t' unknown to Gcc, so it complains.  To correct this, either edit 
movedata.h to insert #include <sys/djtypes.h> near its beginning, or 
#include <sys/types.h> in your program, before you include gfx.h.

- Raw text -


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