diff options
| -rw-r--r-- | xmake/modules/core/tools/gcc.lua | 2 | ||||
| -rw-r--r-- | xmake/modules/private/check/checkers/api/target/languages.lua | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua index 84b0aca4a..263f96c7b 100644 --- a/xmake/modules/core/tools/gcc.lua +++ b/xmake/modules/core/tools/gcc.lua @@ -211,6 +211,8 @@ function nf_language(self, stdname) _g.cxxmaps = { cxx98 = "-std=c++98" , gnuxx98 = "-std=gnu++98" + , cxx03 = "-std=c++03" + , gnuxx03 = "-std=gnu++03" , cxx11 = "-std=c++11" , gnuxx11 = "-std=gnu++11" , cxx14 = "-std=c++14" diff --git a/xmake/modules/private/check/checkers/api/target/languages.lua b/xmake/modules/private/check/checkers/api/target/languages.lua index f01499225..818d755e2 100644 --- a/xmake/modules/private/check/checkers/api/target/languages.lua +++ b/xmake/modules/private/check/checkers/api/target/languages.lua @@ -25,7 +25,7 @@ function main(opt) opt = opt or {} local values = { "ansi", "c89", "c90", "c99", "c11", "c17", "clatest", - "cxx98", "cxx11", "cxx14", "cxx17", "cxx1z", "cxx20", "cxx2a", "cxx23", "cxx2b", "cxxlatest" + "cxx98", "cxx03", "cxx11", "cxx14", "cxx17", "cxx1z", "cxx20", "cxx2a", "cxx23", "cxx2b", "cxxlatest" } local languages = {} for _, value in ipairs(values) do |
