First of all, I haven't tried the rpm. I wanted to see if any of these errors might have made it so that it didn't install from compiling the source.
Although the gcc seems to think they're trivial, as it continues compiling, the first significant set of errors are:
network/multimsgs.cpp: In function ‘void send_turret_fired_packet(int, int, int)’:
network/multimsgs.cpp:3645: warning: statement has no effect
network/multimsgs.cpp: In function ‘void send_ai_info_update_packet(object*, char)’:
network/multimsgs.cpp:5383: warning: statement has no effect
network/multimsgs.cpp: In function ‘void send_NEW_primary_fired_packet(ship*, int)’:
network/multimsgs.cpp:7911: warning: statement has no effect
network/multimsgs.cpp: In function ‘void send_flak_fired_packet(int, int, int, float)’:
network/multimsgs.cpp:8322: warning: statement has no effect
network/multimsgs.cpp: In function ‘void send_player_pain_packet(net_player*, int, float, vec3d*, vec3d*)’:
network/multimsgs.cpp:8436: warning: statement has no effect
Then it goes for a little while and gives this:
network/multi_dogfight.cpp: In function ‘void multi_df_debrief_init()’:
network/multi_dogfight.cpp:400: warning: unused variable ‘rescode’
Then again it goes for a little while and gives:
network/multi_obj.cpp: In function ‘int multi_oo_pack_data(net_player*, object*, ubyte, ubyte*)’:
network/multi_obj.cpp:408: warning: statement has no effect
network/multi_obj.cpp:414: warning: statement has no effect
network/multi_obj.cpp:422: warning: statement has no effect
network/multi_obj.cpp:428: warning: statement has no effect
network/multi_obj.cpp:439: warning: statement has no effect
network/multi_obj.cpp:446: warning: statement has no effect
network/multi_obj.cpp:468: warning: statement has no effect
network/multi_obj.cpp:482: warning: statement has no effect
network/multi_obj.cpp:489: warning: statement has no effect
network/multi_obj.cpp:496: warning: statement has no effect
network/multi_obj.cpp:517: warning: statement has no effect
network/multi_obj.cpp:571: warning: statement has no effect
network/multi_obj.cpp:574: warning: statement has no effect
network/multi_obj.cpp:577: warning: statement has no effect
network/multi_obj.cpp:580: warning: statement has no effect
network/multi_obj.cpp: In function ‘void multi_oo_process_all(net_player*)’:
network/multi_obj.cpp:1277: warning: statement has no effect
network/multi_obj.cpp:1307: warning: statement has no effect
network/multi_obj.cpp:1319: warning: statement has no effect
network/multi_obj.cpp:1334: warning: statement has no effect
network/multi_obj.cpp: In function ‘void multi_oo_send_control_info()’:
network/multi_obj.cpp:1474: warning: statement has no effect
network/multi_obj.cpp:1484: warning: statement has no effect
then after a while:
network/psnet2.cpp: In function ‘int psnet_send(net_addr*, void*, int, int)’:
network/psnet2.cpp:1122: warning: statement has no effect
network/psnet2.cpp:1123: warning: statement has no effect
network/psnet2.cpp: In function ‘int psnet_rel_send(PSNET_SOCKET_RELIABLE, ubyte*, int, int)’:
network/psnet2.cpp:1406: warning: statement has no effect
Then a couple trivial errors about thruster glows, anims, and contrails show up:
ship/ship.cpp: In function ‘void ship_init_thrusters()’:
ship/ship.cpp:5919: warning: unused variable ‘num_thrust_anims’
ship/ship.cpp:5939: warning: unused variable ‘num_thrust_glow_anims’
and
ship/shipcontrails.cpp:570:2: warning: no newline at end of file
Finally, further down and finally the last error, just before it completes the last steps to finish compiling, there is this error:
freespace2/freespace.cpp: In function ‘void game_flip_page_and_time_it()’:
freespace2/freespace.cpp:5289: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘fix
I don't know if any of this is helpful in determining what needs work in that source package or what I might be missing, but I included all of the errors just in case there's something I'm missing. Usually I'm pretty good at compiling and installing from source, so this is somewhat frustrating.