thanks, adding return statement solves the problem.
On 2013-08-28 15:32, Jakub Jelinek wrote:
On Wed, Aug 28, 2013 at 01:35:45PM +0530, avantikagupta wrote:
i am writing a dynamic plugin,
First start with compiling the plugin with warnings, I bet the
compiler
would tell you:
static unsigned int
execute_ipacs (void)
{
con::constraint c(2,con::DEREF);
cout<<c.get_var();
map<con::constraint, con::constraint *> my;
my[c]= &c;
fprintf(dump_file,"\njhgiocsud==========\n");
//struct cgraph_node *cnode;
}
doesn't have return stmt, and if you return random todo, all kinds of
bad
things can happen.
Jakub