Ticket #69362: c++14.patch

File c++14.patch, 413 bytes (added by ryandesign (Ryan Carsten Schmidt), 7 months ago)
  • SConstruct

    gtest requires C++14 or newer
    old new  
    301301
    302302elif 'clang' in env.subst('$CC'):
    303303    defaults.ccFlags = '-fcolor-diagnostics'
    304     defaults.cxxFlags = '-std=c++11'
     304    defaults.cxxFlags = '-std=c++14'
    305305    defaults.buildPch = True
    306306    env['pch_flags'] = ['-include-pch', 'src/pch/system.h.gch']
    307307