View Issue Details

IDProjectCategoryView StatusLast Update
0002597FSSCPmath-relatedpublic2012-02-14 01:01
Reporterniffiwan Assigned Toniffiwan  
PrioritynormalSeveritytweakReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.6.14 RC4 
Target Version3.6.14 
Summary0002597: GCC warnings in ai/aicode.cpp
Descriptionai/aicode.cpp: In function ‘float ai_path_0()’:
ai/aicode.cpp:3834: warning: suggest parentheses around ‘&&’ within ‘||’
ai/aicode.cpp: In function ‘float ai_path_1()’:
ai/aicode.cpp:4011: warning: suggest parentheses around ‘&&’ within ‘||’
ai/aicode.cpp: In function ‘void evade_weapon()’:
ai/aicode.cpp:4788: warning: suggest explicit braces to avoid ambiguous ‘else’
ai/aicode.cpp: In function ‘void update_aspect_lock_information(ai_info*, vec3d*, float, float)’:
ai/aicode.cpp:7461: warning: suggest parentheses around ‘&&’ within ‘||’
ai/aicode.cpp: In function ‘void ai_chase()’:
ai/aicode.cpp:8456: warning: suggest explicit braces to avoid ambiguous ‘else’
ai/aicode.cpp: In function ‘void ai_big_guard()’:
ai/aicode.cpp:9686: warning: suggest parentheses around arithmetic in operand of ‘^’
TagsNo tags attached.

Activities

niffiwan

2012-02-05 04:27

developer   ~0013239

Fix committed to trunk@8442.

Zacam

2012-02-14 01:01

administrator   ~0013315

Fix committed to fs2_open_3_6_14@8496.

Related Changesets

fs2open: trunk r8442

2012-02-04 23:27

niffiwan


Ported: N/A

Details Diff
Fix for mantis 0002597: fix some GCC compiler warnings Affected Issues
0002597
mod - /trunk/fs2_open/code/ai/aicode.cpp Diff File

fs2open: fs2_open_3_6_14 r8496

2012-02-13 20:01

Zacam


Ported: N/A

Details Diff
Backport: Trunk r8442; Fix for mantis 0002597: fix some GCC compiler warnings Affected Issues
0002597
mod - /branches/fs2_open_3_6_14/code/ai/aicode.cpp Diff File

Issue History

Date Modified Username Field Change
2012-02-05 04:25 niffiwan New Issue
2012-02-05 04:25 niffiwan Status new => assigned
2012-02-05 04:25 niffiwan Assigned To => niffiwan
2012-02-05 04:27 niffiwan Changeset attached => fs2open trunk r8442
2012-02-05 04:27 niffiwan Note Added: 0013239
2012-02-05 04:27 niffiwan Status assigned => resolved
2012-02-05 04:27 niffiwan Resolution open => fixed
2012-02-14 01:01 Zacam Changeset attached => fs2open fs2_open_3_6_14 r8496
2012-02-14 01:01 Zacam Note Added: 0013315