Skip to content
Snippets Groups Projects
Commit b3ce3df0 authored by Jason Hiser's avatar Jason Hiser :tractor:
Browse files

Updates for ubuntu20

parent 7fa3d6cf
No related branches found
No related tags found
No related merge requests found
Pipeline #11683 passed
Subproject commit 00c68e321254563930443f3dbd34fbe6248dba77
Subproject commit 26f4b47da6575fe4abd9df3f15e6bde6d316c588
......@@ -20,12 +20,12 @@ env.Replace(IRDB_LIBS=os.environ['IRDB_LIBS'])
env.Replace(debug=ARGUMENTS.get("debug",0))
if int(env['debug']) == 1:
print "Setting debug mode"
print("Setting debug mode")
env.Append(CFLAGS=" -g ")
env.Append(CXXFLAGS=" -g ")
env.Append(LINKFLAGS=" -g ")
else:
print "Setting release mode"
print("Setting release mode")
env.Append(CFLAGS=" -O3 ")
env.Append(CXXFLAGS=" -O3 ")
env.Append(LINKFLAGS=" -O3 ")
......
......@@ -150,7 +150,7 @@ int main(int argc, char **argv)
cout<<"Skipping (no changes) "<<this_file->getURL()<<endl;
}
}
catch (DatabaseError_t pnide)
catch (const DatabaseError_t &pnide)
{
cerr << programName << ": Unexpected database error: " << pnide << "file url: " << this_file->getURL() << endl;
exit(1);
......
......@@ -343,7 +343,7 @@ int main(int argc, char **argv)
cout<<"Skipping (no changes) "<<this_file->getURL()<<endl;
}
}
catch (const DatabaseError_t pnide)
catch (const DatabaseError_t &pnide)
{
cerr << programName << ": Unexpected database error: " << pnide << "file url: " << this_file->getURL() << endl;
exit(1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment