Export to GitHub

qdevelop - issue #297

'free' was not declared in this scope


Posted on Jul 13, 2008 by Happy Lion

What steps will reproduce the problem? 1. compiling the program

On Debian Sid I get a compilation error: src/QIComplete/tree.cpp:134: error: 'free' was not declared in this scope

I've heard this has something to do with the way that the gcc version on Sid handles includes (gcc 4.3.1).

To fix it you should add "#include <cstdlib>" to src/QIComplete/tree.cpp

Comment #1

Posted on Jul 19, 2008 by Happy Hippo

Fixed in revision 330

Status: Fixed

Labels:
Type-Defect Priority-Medium