David Brown <
david...@hesbynett.no> schrieb:
> You said that your code worked with gcc up to 4.9.2 - but after an
> update it failed. Since 4.9.2 is the latest released version of gcc,
> are you trying a development version?
No, it's official 4.9.2. But on a Linux machine you always have still
other parts of software defining the concrete build environment,
especially glibc and libc++ (and a lot of others ...)
My situation is as follows: I have two Linux machines, an old one and a
new one, both with gcc 4.9.2, but with a different bunch of libs. The
old one compiles fine, the new one doesn't know malloc in cstdlib. Sure
I have glibc on this machine, sure I have also all the glibc-headers,
sure malloc is an existing, documented and well known function. I never
changed anything in these files or in the permissions, all is standard,
but cstdlib doesn't know malloc.
OK, for me it's a hint that noone says, yes, that's right, they changed
something last sunday in glibc, malloc is banned for ever, or so.
T.M.