> On 03/08/2015, at 18:35, Paulo Moura <[email protected]> wrote: > > Hi, > > I'm running GNU Prolog 1.4.5 (git version) and trying to use the gplc command > to generate a executable. I'm getting the following error: > > /var/folders/w9/0h2yhwgh8xj42v0059bpn5h00000gn/T/gplcKSrG9k.s:7298:FATAL:Symbol > _X1_24246578655F757365722F305F2461757831__a1 already defined. > > If I stop (using the -S switch) after producing the assembly files and open > the file listed in the error, I can confirm that indeed the symbol is defined > twice. Is this a gplc bug or something in my code? How to diagnose? I looked > into the related Prolog file but its contents seem fine (it defines a single > multifile, dynamic predicate).
After some more experimentation, I found that the error can be avoided by having a single initialization/1 directive in the Prolog file (the original file had three initialization/1 directives, which is not usual but still standards compliant). Cheers, Paulo ----------------------------------------------------------------- Paulo Moura Logtalk developer Email: <mailto:[email protected]> Web: <http://logtalk.org/> ----------------------------------------------------------------- _______________________________________________ Bug-prolog mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-prolog
