2.12.0 dict.c: error: '__thread' before 'static'
Commit c5989473 introduced lines starting with
XML_THREAD_LOCAL static ...
This lead to the compilation error
error: '__thread' before 'static'
on Linux RHEL 6+7 and SLES 11+12.
As a fix using
static XML_THREAD_LOCAL ...
instead suffices. File globals.c for instance already uses that order. Trivial patch see next comment.
Edited by Rainer Jung