This forum has been archived. Please start a new discussion on GitHub.

../../include/Ice/Buffer.h:41:17: error: ptrdiff_t does not name a type

I got this error when building Ice under OpenSuSE 12.1 x64:

../../include/Ice/Buffer.h:41:17: error: ptrdiff_t does not name a type

I was building it so that I could get PHP 5.3.8 support which is the default on OpenSuSE 12.1

I fixed it by adding <stddef.h> in the header of the Ice/Buffer.h file, I saw that fix on a debian forums build test.

Here's the link of the whole thing in this forum, Mark Spruiell was helping me out:

Help Center Thread link

There's the build process I was following along with the problems I bumped into and the solution, I hope you guys can fix it for the next Ice release, thanks!


  • benoit
    benoit Rennes, France

    Thanks for the report, we'll fix this for the next release!