2019-12-14 19:46 CET

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000917Spring engineGeneralpublic2008-05-04 13:04
Reporterzenzike 
Assigned ToILMTitan 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version0.76b1+svn 
Target VersionFixed in Version 
Summary0000917: [patch] UnitDef warning
DescriptionThe order of variables in struct BuildInfo declarations are different to those in the instantiations, which gives a compiler warning (since it's the order of declarations that matters, not the instantiations).

I've made a patch that stops this warning from springing up.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files
  • patch file icon unitdef.patch (347 bytes) 2008-05-04 00:38 -
    Index: /spring/rts/Sim/Units/UnitDef.h
    ===================================================================
    --- /spring/rts/Sim/Units/UnitDef.h	(revision 5838)
    +++ /spring/rts/Sim/Units/UnitDef.h	(working copy)
    @@ -415,8 +415,9 @@
     	void FillCmd(Command& c) const;
     
     	const UnitDef* def;
    +	float3 pos;
     	int buildFacing;
    -	float3 pos;
    +	
     };
     
     
    
    
    patch file icon unitdef.patch (347 bytes) 2008-05-04 00:38 +

-Relationships
+Relationships

-Notes

~0002235

ILMTitan (reporter)

Committed. Thank You.
+Notes

-Issue History
Date Modified Username Field Change
2008-05-04 00:38 zenzike New Issue
2008-05-04 00:38 zenzike File Added: unitdef.patch
2008-05-04 12:59 ILMTitan Status new => assigned
2008-05-04 12:59 ILMTitan Assigned To => ILMTitan
2008-05-04 13:04 ILMTitan Status assigned => resolved
2008-05-04 13:04 ILMTitan Resolution open => fixed
2008-05-04 13:04 ILMTitan Note Added: 0002235
+Issue History