[haiku-3rdparty-dev] gcc reports: 'free' was not declared in this scope

  • From: Rafael Fernández López <ereslibre@xxxxxxx>
  • To: haiku-3rdparty-dev@xxxxxxxxxxxxx
  • Date: Thu, 10 Mar 2011 02:14:50 +0100

Hi all,

Well, the subject says almost everything.

I was compiling a project of mine in Haiku, and got:

error: 'free' was not declared in this scope

Since, I guess there actually exists a free call, I wonder if I am missing
some include.

I have Haiku compiled from sources, with jam @alpha-cd, and installed in a
virtual machine with the iso that was generated.

gcc reports 4.4.4 version
Haiku revision r40887


Best regards and thanks in advance,
Rafael Fernández López.

Other related posts: