Good day to all. I encounter the below warning in 'threads.c' while compiling libxml2 using MinGW compiler.
*warning: 'thread' attribute directive ignored* Please share a way to remove this warning. Below is the piece of code that generates this warning. This code is specific to Thread Local Storage. #elif defined HAVE_WIN32_THREADS #if defined(HAVE_COMPILER_TLS) *static __declspec(thread) xmlGlobalState tlstate;* *static __declspec(thread) int tlstate_inited = 0;* #else /* HAVE_COMPILER_TLS */ static DWORD globalkey = TLS_OUT_OF_INDEXES; #endif Thanks in advance Anish K Kurian
_______________________________________________ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org https://mail.gnome.org/mailman/listinfo/xml