Re: [AD] Physfs addon and MSVC

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2009-06-15, Peter Wang <novalazy@xxxxxxxxxx> wrote:
> On 2009-06-15, Trent Gamblin <trent@xxxxxxxxxx> wrote:
> > Currently for me the physfs addon doesn't get built properly when
> > compiling with MSVC. A dll is generated but it is missing all (1?)
> > external symbols, and because of that no .lib file is generated.
> > I'm not sure the problem as I've checked against other addons
> > and the cmake/headers seem the same. I had to manually write
> > a .def file and generate a dll and lib using that and the objs
> > and it works, so it's a problem with the build system perhaps.
> 
> Could it be because the addon .c files weren't including a5_physfs.h?

BTW, I wanted STRICT_WARN to warn about this kind of problem, but
ran into some trouble with inline functions when
    -Wmissing-prototypes -Wmissing-declarations

I'll try harder to get that working again.  It's already revealed a
bunch of problems.

Peter





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/