for(set<Target *>::iterator i=clean_tgts.begin(); i!=clean_tgts.end(); ++i)
{
Action *action=new Unlink(*this, **i);
- while(action->check()<0);
+ while(action->check()<0) ;
delete action;
}
Distributed under the LGPL
*/
+#include <algorithm>
#include "buildinfo.h"
using namespace Msp;
Distributed under the LGPL
*/
+#include <cstdlib>
#include <msp/core/except.h>
#include <msp/io/except.h>
#include <msp/io/file.h>
}
else
{
- for(end=dollar+1; (isalnum(opt.value[end]) && opt.value[end]!='_'); ++end);
+ for(end=dollar+1; (isalnum(opt.value[end]) && opt.value[end]!='_'); ++end) ;
var=opt.value.substr(dollar+1, end-dollar-1);
}
#include <sys/wait.h>
#include <iostream>
+#include <cstring>
+#include <cstdlib>
#include <msp/path/utils.h>
#include "builder.h"
#include "externalaction.h"
#include <iostream>
#include <sys/wait.h>
+#include <cstdlib>
+#include <cstring>
#include "misc.h"
using namespace std;
Distributed under the LGPL
*/
+#include <algorithm>
#include <msp/path/utils.h>
#include "builder.h"
#include "compile.h"
build_info.cflags.push_back("-Wshadow");
build_info.cflags.push_back("-Wextra");
build_info.cflags.push_back("-Wpointer-arith");
- build_info.cflags.push_back("-Wconversion");
+ //build_info.cflags.push_back("-Wconversion");
build_info.cflags.push_back("-Werror");
unsigned flags=get_install_flags();
*/
#include <iostream>
+#include <cstring>
#include <msp/io/file.h>
#include <msp/path/utils.h>
#include "builder.h"