users-prolog
[Top][All Lists]
Advanced

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

AW: Porting to mingw32


From: ibl
Subject: AW: Porting to mingw32
Date: Wed, 7 Jan 2004 05:54:53 +0100


> -----Ursprüngliche Nachricht-----
> Von: address@hidden
> [mailto:address@hidden Auftrag von
> Cesar Rabak
> Gesendet: Montag, 5. Januar 2004 20:04
> An: address@hidden
> Betreff: Porting to mingw32
>
>

..... snip .....

> D:\Programacao\Prolog\GNU\gprolog-1.2.16\ExamplesC>new_main.exe
>
> Enter a name (or 'end' to finish): peter
>
> Fatal Error: Pl_Query_End(PL_RECOVER) but unrecoverable query
>
> Before I start to peruse all the code behind the libbips_pl.a, is there
> something obvious I may have overlooked?

Yes.
The "obvious" is an optimization bug in gcc.
(Which version are you using ?)

I experienced the same with gcc 3.3.1 under Cygwin and 3.2.2 under Linux.
Compiling with -O2 instead of -O3 should solve your problem.

Best regards
Ingo


> TIA
>
> --
> Cesar Rabak
> GNU/Linux User 52247.
> Get counted: http://counter.li.org/
>
> [1] Following the directions on src/PORTING.
> [2] Parenthetically I had to put a call to fflush because of printf in
> mingw being buffered.
>
>
>
>
> _______________________________________________
> Users-prolog mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/users-prolog





reply via email to

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