Public bug reported:

Binary package hint: g++

I'm using gcc/g++ Version: Ubuntu 4.3.2-1ubuntu11) 4.3.2

Since upgrading to Ubuntu 8.10 from Ubuntu 8.04 I get an Error when
compiling a multimedia library used by my University.

error: there are no arguments to ‘malloc’ that depend on a template parameter, 
so a declaration of ‘malloc’ must be available
error: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the 
use of an undeclared name is deprecated)

Additionally I had to change the source code, because gcc/g++ 4.3.2 didn't find 
the function
lower_bound( iterator first, iterator last,  const TYPE& val ) anymore without 
an #include<algorithm>

I also had to change all "LLONG_MAX" to "__LONG_LONG_MAX__".


But for the first error I didn't find a solution yet. Are there any problems 
with my gcc/g++ configuration? 
Under Ubuntu 8.04 with gcc/g++ Version 4.2.4 there were no such problems.


Is there any solution available?

Happy new year!

** Affects: gcc-defaults (Ubuntu)
     Importance: Undecided
         Status: New

-- 
malloc error in gcc/g++ with ubuntu 8.10
https://bugs.launchpad.net/bugs/312799
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to