| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
|---|---|---|---|---|---|---|---|---|---|
| 0003674 | Spring engine | General | public | 2013-04-04 11:26 | 2013-04-04 12:28 | ||||
| Reporter | SirMaverick | ||||||||
| Assigned To | Kloot | ||||||||
| Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
| Status | resolved | Resolution | fixed | ||||||
| Product Version | 94.1 | ||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0003674: 94.1 TRACE_SYNC compile error | ||||||||
| Description | Compiling 94.1 with TRACE_SYNC enabled fails in LightningProjectile.cpp. rts/Sim/Projectiles/WeaponProjectiles/LightningProjectile.cpp:46:63: error: ‘end’ was not declared in this scope | ||||||||
| Steps To Reproduce | git checkout 94.1 compile with -DSYNCDEBUG=TRUE -DTRACE_SYNC=TRUE | ||||||||
| Additional Information | possible fix? diff --git a/rts/Sim/Projectiles/WeaponProjectiles/LightningProjectile.cpp b/rts/Sim/Projectiles/WeaponProjectiles/LightningProjectile.cpp index 0652ce8..295a7a5 100644 --- a/rts/Sim/Projectiles/WeaponProjectiles/LightningProjectile.cpp +++ b/rts/Sim/Projectiles/WeaponProjectiles/LightningProjectile.cpp @@ -43,7 +43,7 @@ CLightningProjectile::CLightningProjectile(const ProjectileParams& params): CWea #ifdef TRACE_SYNC tracefile << "New lightning: "; - tracefile << pos.x << " " << pos.y << " " << pos.z << " " << end.x << " " << end.y << " " << end.z << "\n"; + tracefile << pos.x << " " << pos.y << " " << pos.z << " " << targetPos.x << " " << targetPos.y << " " << targetPos.z << "\n"; #endif } | ||||||||
| Tags | No tags attached. | ||||||||
| Checked infolog.txt for Errors | |||||||||
| Attached Files |
| ||||||||
Notes |
|
|
SirMaverick (reporter) 2013-04-04 12:25 |
same for 94.1.1-102-g4a7270c |
Issue History |
|||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-04-04 11:26 | SirMaverick | New Issue | |
| 2013-04-04 12:25 | SirMaverick | Note Added: 0010383 | |
| 2013-04-04 12:28 | Kloot | Changeset attached | => spring develop d8dcb333 |
| 2013-04-04 12:28 | Kloot | Assigned To | => Kloot |
| 2013-04-04 12:28 | Kloot | Status | new => resolved |
| 2013-04-04 12:28 | Kloot | Resolution | open => fixed |


