mirror of https://git.wownero.com/dsc/mxe.git
ODR fix: use unique names for dummy symbols.
This commit is contained in:
parent
3e9e30be1b
commit
2f13977e1f
|
@ -0,0 +1,24 @@
|
|||
See: https://gitlab.kitware.com/vtk/vtk/issues/17774
|
||||
|
||||
diff --git a/ThirdParty/exodusII/vtkexodusII/src/ex_create_par.c b/ThirdParty/exodusII/vtkexodusII/src/ex_create_par.c
|
||||
index 8d5d6734f0ad2df04393cf7909ef2c342785e1ac..ef439618dae7b90fdf1057f7051c6a9f0bf1f72d 100644
|
||||
--- a/ThirdParty/exodusII/vtkexodusII/src/ex_create_par.c
|
||||
+++ b/ThirdParty/exodusII/vtkexodusII/src/ex_create_par.c
|
||||
@@ -216,5 +216,5 @@ int ex_create_par_int(const char *path, int cmode, int *comp_ws, int *io_ws, MPI
|
||||
* Prevent warning in some versions of ranlib(1) because the object
|
||||
* file has no symbols.
|
||||
*/
|
||||
-const char exodus_unused_symbol_dummy_1;
|
||||
+const char exodus_unused_symbol_dummy_ex_create_par;
|
||||
#endif
|
||||
diff --git a/ThirdParty/exodusII/vtkexodusII/src/ex_open_par.c b/ThirdParty/exodusII/vtkexodusII/src/ex_open_par.c
|
||||
index b2faa22c29489446030f537bb6b3a26feb86c50b..9df4818767d07a3020f1363fe2a8b9f2fcac634a 100644
|
||||
--- a/ThirdParty/exodusII/vtkexodusII/src/ex_open_par.c
|
||||
+++ b/ThirdParty/exodusII/vtkexodusII/src/ex_open_par.c
|
||||
@@ -459,5 +459,5 @@ int ex_open_par_int(const char *path, int mode, int *comp_ws, int *io_ws, float
|
||||
* Prevent warning in some versions of ranlib(1) because the object
|
||||
* file has no symbols.
|
||||
*/
|
||||
-const char exodus_unused_symbol_dummy_1;
|
||||
+const char exodus_unused_symbol_dummy_ex_open_par;
|
||||
#endif
|
Loading…
Reference in New Issue