Build: Added -Wall,extra,-pedantic, fixed warnings and peeves.
This commit is contained in:
@@ -62,7 +62,7 @@ static int initializeHarikoff(int argc, char **argv, char **envp)
|
||||
std::cout << PACKAGE_NAME << " " << PACKAGE_VERSION << std::endl;
|
||||
|
||||
try {
|
||||
options.parseArguments(argc, argv);
|
||||
options.parseArguments(argc, argv, envp);
|
||||
}
|
||||
catch (const std::invalid_argument& e) {
|
||||
std::cerr << __func__ << ": Exception occurred: " << e.what() << '\n' << options.getUsage() << '\n';
|
||||
@@ -74,10 +74,10 @@ static int initializeHarikoff(int argc, char **argv, char **envp)
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
options.dumpOptions();
|
||||
DeviceManager::getInstance().collateAllDeviceSpecs(options);
|
||||
std::cout << options.stringifyOptions() << std::endl;
|
||||
DeviceManager::getInstance().collateAllDeviceSpecs();
|
||||
DeviceManager::getInstance().parseAllDeviceSpecs();
|
||||
std::cout << DeviceManager::printDeviceSpecs() << std::endl;
|
||||
std::cout << DeviceManager::stringifyDeviceSpecs() << std::endl;
|
||||
sense_api::SenseApiManager::getInstance().loadAllSenseApiLibsFromOptions();
|
||||
|
||||
std::cout << __func__ << ": Exiting" << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user