Mail Archives: djgpp/1995/10/25/11:00:59
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 -