Announcement

Collapse
No announcement yet.

compiling the latest Sauerbraten

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    compiling the latest Sauerbraten

    Hi all

    After upgrading Kubuntu from 13.04 to 13.10, I'm having problems compiling the latest Sauerbraten (sauerbraten-collect-edition), I get a lot of warnings that array subscript is above array bounds.

    It does compile, but I get segmentation fault when I try to run it.
    I suspect that this is related to gcc 4.8?

    Have anyone else expirienced this, and if so, how did you solve it?

    #2
    A little more info:

    The warning looks like this:
    Code:
    shared/crypto.cpp:316:33: warning: array subscript is above array bounds [-Warray-bounds]
                 digit tmp = x.digits[i+dig+1];
    for anyone who want to try to reproduce this, you can download the latest Sauerbraten here:
    http://sourceforge.net/projects/saue...d?source=files

    extract, cd into the src dir and run:
    make && make install

    EDIT:
    I went back to 13.04 and have no warnings or segmentation fault
    everything works as expected...

    I think I'll wait for the final release, before trying again.

    Comment

    Working...
    X