The new StringMap code for luax_enumerror causes code to be generated for std::vector. By using an extern template (an old feature standardised in c++11) we can instantiate it once instead, in StringMap.cpp. --HG-- branch : minor