paragui-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [paragui-dev] paragui and physfs


From: Ulf Lorenz
Subject: Re: [paragui-dev] paragui and physfs
Date: Sun, 2 Oct 2005 21:53:05 +0200
User-agent: Mutt/1.5.10i

On Wed, Sep 28, 2005 at 10:41:25PM -0400, Dennis Veatch wrote:
> Compling these guys from source and physfs-1.1.0 compiled fine. However 
> paragui fails the make with the following;
> 
> c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT 
> -I../../include -O1 -mtune=athlon -march=athlon -mmmx -msse -msse2 -m3dnow 
> -mfpmath=sse,387 -Wall -I/usr/include/freetype2 -fno-exceptions -c 
> pgfilearchive.cpp  -fPIC -DPIC -o .libs/pgfilearchive.lo
> In file included from pgfilearchive.cpp:29:
> /usr/include/physfs.h:1866: error: expected `;' before '(' token
> /usr/include/physfs.h:1867: error: `size_t' has not been declared
> make[2]: *** [pgfilearchive.lo] Error 1
> 
> 
> Is there a compatibility problem with physfs-1.1.0?
Propably a bug in physfs. I'll write the author a mail about this, so
you don't have to worry. The problem is:

physfs.h does not include any headers
pgfilearchive propably not, too (or in wrong order)

Since size_t is not used anywhere else apart from these two lines, it
may not have been the intention of the author to use them or so.


Using physfs version 1.0.1 should do the trick. :)


cu,
Ulf

-- 
recursive:
            see recursive




reply via email to

[Prev in Thread] Current Thread [Next in Thread]