diff --git a/src/mapleall/maple_driver/include/driver_options.h b/src/mapleall/maple_driver/include/driver_options.h index ad5d8708de0ac5646c641af4b447f270f7c36b61..b347616b832a93bfe645c062eab330981648812d 100644 --- a/src/mapleall/maple_driver/include/driver_options.h +++ b/src/mapleall/maple_driver/include/driver_options.h @@ -1888,6 +1888,7 @@ extern maplecl::Option fPIC; extern maplecl::Option ignoreUnsupOpt; extern maplecl::Option exportMpltInline; extern maplecl::Option importMpltInline; +extern maplecl::Option oStdBsc; extern maplecl::Option bsc; /* ##################### STRING Options ############################################################### */ @@ -2094,6 +2095,7 @@ extern maplecl::Option rootPath; extern maplecl::Option aggressiveTlsWarmupFunction; extern maplecl::Option oMQ; extern maplecl::Option inlineMpltDir; +extern maplecl::Option oX; /* ##################### DIGITAL Options ############################################################### */ diff --git a/src/mapleall/maple_driver/src/driver_options.cpp b/src/mapleall/maple_driver/src/driver_options.cpp index 3aee6d8e8ec21e7ac152dbc5b02c75e7c7da9b3a..eb4ecbcff13db762febf42d6b1269488839890bc 100644 --- a/src/mapleall/maple_driver/src/driver_options.cpp +++ b/src/mapleall/maple_driver/src/driver_options.cpp @@ -391,6 +391,10 @@ maplecl::Option oTrigraphs({"-trigraphs"}, " -trigraphs \t-trigraphs Support ISO C trigraphs.\n", {driverCategory, clangCategory}, kOptFront, maplecl::kHide); +maplecl::Option oStdBsc({"-std=bsc"}, + " -std=bsc \tConform to the bsc C++ standard.\n", + {driverCategory, clangCategory}); + maplecl::Option oStd03({"-std=c++03"}, " -std=c++03 \tConform to the ISO 1998 C++ standard revised by the 2003 technical corrigendum.\n", {driverCategory, clangCategory, unSupCategory}, maplecl::kHide); @@ -912,9 +916,13 @@ maplecl::Option oA({"-A"}, {driverCategory, clangCategory}, kOptFront, maplecl::kJoinedValue); maplecl::Option inlineMpltDir({"-finline-mplt-dir="}, - " -finline-mplt-dir= \tSpecify the inline mplt directory for exporting and importing.\n", + " -finline-mplt-dir= \tSpecify the inline mplt directory for exporting and importing.\n", {driverCategory, hir2mplCategory, mpl2mplCategory}, kOptCommon | kOptOptimization | kOptMaple, maplecl::Init("")); +maplecl::Option oX({"-x"}, + " -x \tSpecify to compile using Bi Sheng C syntax.\n", + {driverCategory, clangCategory}, kOptFront | kOptMaple); + /* ##################### DIGITAL Options ############################################################### */ maplecl::Option helpLevel({"--level"},