- change: Remove compiler set options that's rarely used.

This commit is contained in:
Roy Qu 2023-03-13 09:15:05 +08:00
parent dab6a331b9
commit 16e45f1b9c
5 changed files with 317 additions and 336 deletions

View File

@ -7,6 +7,7 @@ Red Panda C++ Version 2.18
- fix: Code completion info for stl::map/std::unordered_map is not correct. - fix: Code completion info for stl::map/std::unordered_map is not correct.
- enhancement: Warn user and stop compile if project has missing files. - enhancement: Warn user and stop compile if project has missing files.
- enhancement: Warn user when exit and save settings failed. - enhancement: Warn user when exit and save settings failed.
- change: Remove compiler set options that's rarely used.
Red Panda C++ Version 2.17 Red Panda C++ Version 2.17

View File

@ -52,10 +52,10 @@ void CompilerInfo::prepareCompilerOptions()
QList<QPair<QString,QString>> sl; QList<QPair<QString,QString>> sl;
QString groupName; QString groupName;
// // C options // // C options
groupName = QObject::tr("C options"); // groupName = QObject::tr("C options");
addOption(CC_CMD_OPT_ANSI, QObject::tr("Support all ANSI standard C programs (-ansi)"), groupName, true, true, false, "-ansi"); // addOption(CC_CMD_OPT_ANSI, QObject::tr("Support all ANSI standard C programs (-ansi)"), groupName, true, true, false, "-ansi");
addOption(CC_CMD_OPT_NO_ASM, QObject::tr("Do not recognize asm,inline or typeof as a keyword (-fno-asm)"), groupName, true, true, false, "-fno-asm"); // addOption(CC_CMD_OPT_NO_ASM, QObject::tr("Do not recognize asm,inline or typeof as a keyword (-fno-asm)"), groupName, true, true, false, "-fno-asm");
addOption(CC_CMD_OPT_TRADITIONAL_CPP, QObject::tr("Imitate traditional C preprocessors (-traditional-cpp)"), groupName, true, true, false, "-traditional-cpp"); // addOption(CC_CMD_OPT_TRADITIONAL_CPP, QObject::tr("Imitate traditional C preprocessors (-traditional-cpp)"), groupName, true, true, false, "-traditional-cpp");
groupName = QObject::tr("Code Generation"); groupName = QObject::tr("Code Generation");
// Optimization // Optimization

View File

@ -6435,19 +6435,19 @@
</message> </message>
<message> <message>
<source>C options</source> <source>C options</source>
<translation>Opções para C</translation> <translation type="vanished">Opções para C</translation>
</message> </message>
<message> <message>
<source>Support all ANSI standard C programs (-ansi)</source> <source>Support all ANSI standard C programs (-ansi)</source>
<translation>Suporte para todos os programas C padrão ANSI (-ansi)</translation> <translation type="vanished">Suporte para todos os programas C padrão ANSI (-ansi)</translation>
</message> </message>
<message> <message>
<source>Do not recognize asm,inline or typeof as a keyword (-fno-asm)</source> <source>Do not recognize asm,inline or typeof as a keyword (-fno-asm)</source>
<translation>Não reconhecer como palavras-chave asm, inline ou typeof (-fno-asm)</translation> <translation type="vanished">Não reconhecer como palavras-chave asm, inline ou typeof (-fno-asm)</translation>
</message> </message>
<message> <message>
<source>Imitate traditional C preprocessors (-traditional-cpp)</source> <source>Imitate traditional C preprocessors (-traditional-cpp)</source>
<translation>Imitar preprocessores C tradicionais (-traditional-cpp)</translation> <translation type="vanished">Imitar preprocessores C tradicionais (-traditional-cpp)</translation>
</message> </message>
<message> <message>
<source>Code Generation</source> <source>Code Generation</source>

File diff suppressed because it is too large Load Diff

View File

@ -6074,22 +6074,6 @@
<source>destructor</source> <source>destructor</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>C options</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Support all ANSI standard C programs (-ansi)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Do not recognize asm,inline or typeof as a keyword (-fno-asm)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Imitate traditional C preprocessors (-traditional-cpp)</source>
<translation type="unfinished"></translation>
</message>
<message> <message>
<source>Code Generation</source> <source>Code Generation</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>