View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0000974 | AI | AI | public | 2008-07-09 00:05 | 2008-07-09 04:39 | ||||
Reporter | hoijui | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | tweak | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Summary | 0000974: [patch] CR_DECLARE_STRUCT for FeatureDef | ||||||||
Description | so far, FeatureDef uses CR_DECLARE(FeatureDef), even though it is a simple struct with no base, and no virtual functions. using CR_DECLARE gives me an error (undefined reference to vtable for FeatureDef) when using FeatureDef on the C++ wrapper for the C AI interface. with CR_DECLARE_STRUCT(FeatureDef), this error vanishes. spring compiles and it does not crash when saving a game with this change, plus i don't get the error any more. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files |
|
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2008-07-09 00:05 | hoijui | New Issue | |
2008-07-09 00:06 | hoijui | File Added: FeatureDef.diff | |
2008-07-09 04:39 | Kloot | Note Added: 0002397 | |
2008-07-09 04:39 | Kloot | Status | new => resolved |
2008-07-09 04:39 | Kloot | Resolution | open => fixed |
2008-07-09 04:39 | Kloot | Assigned To | => Kloot |