As always, use Mantis for any new bugs, or if you can't activate your account, post here.
I'm not receiving the confirmation email, and I will forget, so...
When building I'm getting this from the openSUSE automatic test tools:
I: A function overflows or underflows an array access. This could be a real error,
but occasionaly this condition is also misdetected due to loop unrolling or strange pointer
handling. So this is warning only, please review.
W: fs2_open arraysubscript ai/aicode.cpp:7043
W: fs2_open arraysubscript hud/hudwingmanstatus.cpp:685, 686
aicode.cpp is a
if (current_bank == -1) {
swp->next_secondary_fire_stamp[current_bank] = timestamp(500);
return rval;
}
funny, but if that '-' isn't a typo I suppose you know what you are doing.
But the hud one seems like a real bug. Inside a "for ( i = 0; i < MAX_SHIPS_PER_WING; i++ ) {" loop (being MAX_SHIPS_PER_WING == 6) you are doing a
sx = HUD_wingman_status_single_coords[gr_screen.res][i][0];
sy = HUD_wingman_status_single_coords[gr_screen.res][i][1];
with
int HUD_wingman_status_single_coords[GR_NUM_RESOLUTIONS][4][2] =
Since 6>4... bug?
And... since when nobody compiles wxFRED?

- To compile it in a modern system, wx-config must be called with "--unicode=no".
- The wxFRED_SOURCES variable misses 3/4 of the source files.
- Compile with "-DEMBED_XRC_RESOURCES" requires a missing wxfred_xrc.inl file. I, that don't talk autotools language, have fixed it adding
wxfred2/wxfred_xrc.cpp: wxfred2/wxfred_xrc.inl
wxfred2/wxfred_xrc.inl:
wxrc -c -o wxfred2/wxfred_xrc.inl wxfred2/wxfred.xrc
to code/Makefile.am.