Skip to content
  • Emmanuel Promayon's avatar
    UPDATED Check XSD version and determine if strict c++11 is possible + findXSD cleanup · d5654250
    Emmanuel Promayon authored
    Win7 CamiTK env is deployed with xsd 3.3 which does not have the std option.
    xsd version is checked and if it is at least 4.0.0, option "--std c++11" is used
    to generate the C++ source code from the XSD documents. This results in a strict
    C++11 code that does not generate compiler warning on modern c++ compiler
    (mainly due to the generation of C++98 "auto_ptr" instead of C++11 "unique_ptr")
    d5654250