On Tue, 10 Nov 2009 22:02:45 +0100
Michal Rudolf <[email protected]> wrote:

> I was able to compile it on 32-bit Linux by adding -std=gnu99 flag (the code 
> uses non-standard long constant values). There are still a lot of suspicious 
> warnings though.

Hmm. Which version of robolito? If I try to compile 0.84 or 0.85f1 I get

------
> make
.... omitted a lot
cc -g -O3  -fno-exceptions -fstrict-aliasing -fomit-frame-pointer -Wall
-std=gnu99 -Dx86_64 -DHAS_POPCNT -DHAS_PREFETCH -DVERSION=\"0.084\"
-c -o pila.o pila.c pila.c: In function ‘pila_inizializzazione’:
pila.c:146: warning: array subscript is above array bounds pila.c:60:
warning: array subscript is below array bounds pila.c:157: warning:
array subscript is above array bounds pila.c:60: warning: array
subscript is below array bounds pila.c:162: warning: array subscript is
above array bounds bits.h: Assembler messages:
bits.h:24: Error: suffix or operands invalid for `popcnt'
bits.h:15: Error: suffix or operands invalid for `bsf'
bits.h:15: Error: suffix or operands invalid for `bsf'
bits.h:15: Error: suffix or operands invalid for `bsf'
make: *** [pila.o] Fehler 1

------

So adding -std=gnu99 is not enough here.

This is on openSUSE 11.1. (32-bit)
gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291]

Any hints?

Detlef

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to