Commit 5421645
committed
Fix multiply defined Error symbols in vtkh_core and vtkh_filters DLLs
Mark inline methods with explicit 'inline' keyword to prevent symbol duplication
when both vtkh_core.dll and vtkh_filters.dll export the Error class.
This resolves linker error LNK2005 for Error constructor and other inline methods
that were being defined in multiple DLLs when both were built with ASCENT_EXPORTS_FLAG.
The explicit 'inline' keyword ensures these symbols are properly inlined at compile time
and not duplicated across translation units in different DLLs.
Fixes Windows build failure: fatal error LNK1169 in vtkh_filters.vcxproj1 parent eadd232 commit 5421645
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments