diff options
Diffstat (limited to 'source/core')
| -rw-r--r-- | source/core/slang-gcc-compiler-util.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/core/slang-gcc-compiler-util.cpp b/source/core/slang-gcc-compiler-util.cpp index 69d68e608..0a53bcac8 100644 --- a/source/core/slang-gcc-compiler-util.cpp +++ b/source/core/slang-gcc-compiler-util.cpp @@ -369,7 +369,8 @@ static SlangResult _parseGCCFamilyLine(const UnownedStringSlice& line, LineParse if (options.sourceType == SourceType::CPP) { - cmdLine.addArg("-std=c++11"); + // Need C++14 for partial specialization + cmdLine.addArg("-std=c++14"); } // Use shared libraries |
