2025-07-21 23:02 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003674Spring engineGeneralpublic2013-04-04 12:28
ReporterSirMaverick 
Assigned ToKloot 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
Product Version94.1 
Target VersionFixed in Version 
Summary0003674: 94.1 TRACE_SYNC compile error
DescriptionCompiling 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 Reproducegit checkout 94.1
compile with -DSYNCDEBUG=TRUE -DTRACE_SYNC=TRUE
Additional Informationpossible 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
 }
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0010383

SirMaverick (reporter)

same for 94.1.1-102-g4a7270c
+Notes

-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
+Issue History