View Issue Details

IDProjectCategoryView StatusLast Update
0020093FPCCompilerpublic2011-09-25 15:52
ReporterPierre Muller Assigned ToPierre Muller  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Fixed in Version3.0.0 
Summary0020093: Virtual method table symbol name conflict
DescriptionIf you have uvmt and uvmt_a units,
and define a_tclass in uvmt and tclass in uvmt_a,
both classes will generate the same name VMT_UVMT_A_TCLASS
which will trigger a multiply defined symbol error.
Steps To ReproduceTest to be added into tests/webtbs later.
Additional Information  1.0.10 doesn't have this compiler error.
TagsNo tags attached.
Fixed in Revision18946
FPCOldBugId0
FPCTarget
Attached Files

Activities

Pierre Muller

2011-08-29 13:57

developer   ~0051243

Test added to trunk svn in tests/webtbs

2.7.1 compiler gives this result:
E:\pas\trunk\fpcsrc\tests\webtbs>ppc386 tw20093
tw20093.pp(19,1) Error: Multiple defined symbol VMT_UVMT_A_TCLASS
tw20093.pp(19,1) Error: Multiple defined symbol RTTI_UVMT_A_TCLASS
tw20093.pp(19,1) Error: Multiple defined symbol INIT_UVMT_A_TCLASS
tw20093.pp(19,1) Fatal: There were 3 errors compiling module, stopping
Fatal: Compilation aborted

Issue History

Date Modified Username Field Change
2011-08-29 13:46 Pierre Muller New Issue
2011-08-29 13:46 Pierre Muller FPCOldBugId => 0
2011-08-29 13:57 Pierre Muller Note Added: 0051243
2011-09-25 15:52 Jonas Maebe Fixed in Revision => 18946
2011-09-25 15:52 Jonas Maebe Status new => resolved
2011-09-25 15:52 Jonas Maebe Fixed in Version => 2.7.1
2011-09-25 15:52 Jonas Maebe Resolution open => fixed
2011-09-25 15:52 Jonas Maebe Assigned To => Jonas Maebe
2011-09-25 15:52 Jonas Maebe Assigned To Jonas Maebe => Pierre Muller
2011-09-25 15:52 Jonas Maebe Description Updated