On Mon, Sep 5, 2011 at 5:33 AM, Ralf Corsepius <rc040203(a)freenet.de> wrote:
From what I can gather, parsegen is choking upon
"-Wp,-D_FORTIFY_SOURCE"
being passed as argument to it.
At least separating the call to the compiler from parsegen's code generation
seems to fix the issue.
c.f. patch below.
This lets parsegen generate *.h+*.c's and causes the *.c's to be compiled by
"normal compilation rules", instead of trying to compile them "on the
fly"
through "parsegen".
I'm very late but I'm updating zsnes to use your patch instead of the
one made by Hans because it has the advantage to use standard Fedora
CFLAGS an no workarounds.
Thanks!
Andrea.