Radek Barton <radek.bar...@microsoft.com> writes: > Hello Richard. > > Thank you for your suggestion. I am sending a patch update according to it. > >> How about avoiding the clash by using the names HIDDEN, SYMBOL_TYPE and >> SYMBOL_SIZE, with SYMBOL_TYPE taking the symbol type as argument? > > Yes, unless the symbol is explicitly exported using `__declspec(dllexport)`, > it will be effectively hidden. > >> What's the practical effect of not marking the symbols as hidden on >> mingw32? Will they still be local to the DLL/EXE, since they haven't >>been explicitly exported? (Sorry for the probably dumb question.)
Thanks for the updated patch and sorry for the slow reply -- I was away last week. I've now pushed the patch after testing on aarch64-linux-gnu. Richard