const vector<string> &args=getopt.get_args();
for(vector<string>::const_iterator i=args.begin(); i!=args.end(); ++i)
{
- unsigned equal=i->find('=');
+ string::size_type equal=i->find('=');
if(equal!=string::npos)
cmdline_options.insert(StringMap::value_type(i->substr(0, equal), i->substr(equal+1)));
else
cxx_ver=Regex("[0-9]\\.[0-9.]+").match(run_command(argv))[0].str;
while(!cxx_ver.empty() && !FS::is_dir(FS::Path("/usr/include/c++")/cxx_ver))
{
- unsigned dot=cxx_ver.rfind('.');
+ string::size_type dot=cxx_ver.rfind('.');
if(dot==string::npos)
break;
cxx_ver.erase(dot);