[physfs] Warnings/errors with GCC-4.6

Volker Grabsch vog at notjusthosting.com
Sun Mar 27 09:28:40 EDT 2011


Dear physfs team,

I'm the maintainer of the mingw-cross-env project [1] where
we provide win32 builds of various libraries, including physfs.
We recently switched to GCC-4.6.

GCC-4.6 introduces some new warnings, which lead to build
errors in physfs since you use -Werror.

The attached patch fixes those issues. It works for the
latest release 2.0.2 as well as the current stable-2.0
branch.

However, it does not work for the development branch as is
seems to have a completely different directory structure.


Greets,
Volker


[1] http://mingw-cross-env.nongnu.org/

-- 
Volker Grabsch
---<<(())>>---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: physfs-1-fix-gcc46-warnings.patch
Type: text/x-diff
Size: 1123 bytes
Desc: not available
URL: <http://icculus.org/pipermail/physfs/attachments/20110327/94ba97a8/attachment.bin>


More information about the physfs mailing list