I think the issue is that xerces-c installs headers which require c++11, and neither xerces-c bl3 somehow forces -std=c++11 for packages that use xerces-c headers enigma does not happen to be declared to use c++11 I tried to build and replicated your failure. I then changed c++ to c++11 in enigma (which is not right) and then it built. All that said, I'm not sure what to do.
Attachment:
signature.asc
Description: PGP signature