[deploy]启用-O1
This commit is contained in:
@@ -70,10 +70,11 @@ void parseArgs(int argc, char **argv) {
|
||||
if (optLevel < 0) {
|
||||
cerr << "Error: Optimization level must be non-negative." << endl;
|
||||
usage(EXIT_FAILURE);
|
||||
} else if (optLevel > 0) {
|
||||
cerr << "Debugging, set optLevel to 0...\n";
|
||||
optLevel = 0;
|
||||
}
|
||||
// else if (optLevel > 0) {
|
||||
// cerr << "Debugging, set optLevel to 0...\n";
|
||||
// optLevel = 0;
|
||||
// }
|
||||
} catch (const std::invalid_argument& ia) {
|
||||
cerr << "Error: Invalid argument for -O: " << optarg << endl;
|
||||
usage(EXIT_FAILURE);
|
||||
|
||||
Reference in New Issue
Block a user