can't compile GNU Prolog 1.4.1 with gcc 4.4.2?

Tigran Aivazian <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general
Message-ID <CAK+_RL==amhtW7dcxp7sdvCUYnDqBrV=T99zc9BdJUc1j7YLLg@mail.gmail.com>
Hello,

I tried compiling the latest sources of GNU Prolog (1.4.1) on my Fedora
Core 12 Linux machine (32bit) with gcc 4.4.2 and it failed because of
"static static":

gplc -c -C '-O3 -fomit-frame-pointer' stacks_sigsegv.c
stacks_sigsegv.c:409: error: duplicate ‘static’
stacks_sigsegv.c:410: warning: ‘struct sigcontext’ declared inside
parameter list
stacks_sigsegv.c:410: warning: its scope is only this definition or
declaration, which is probably not what you want
stacks_sigsegv.c:410: error: parameter 2 (‘scp’) has incomplete type
compilation failed
make[1]: *** [stacks_sigsegv.o] Error 1
make[1]: Leaving directory `/usr/local/src/gprolog-1.4.1/src/EnginePl'
make: *** [all] Error 1

Any ideas?

Kind regards,
Tigran

_______________________________________________
Users-prolog mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/users-prolog
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.