Archived

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

Ice for C++: missing includes

Dear all,

Attached to this email you will find a tiny patch against IceE which fixes some missing includes (auto_ptr is defined in memory). This will be required for gcc4.3, since it recently carried out a massive header clean up.

More information in #456076 - FTBFS with GCC 4.3: missing #includes - Debian Bug report logs and Journal of Martin Michlmayr.

Regards,
F. Moya

Comments

  • Thanks for the bug report, we'll have a look at this.

    Cheers,

    Michi.
  • Fedora version of GCC 4.3 patch

    I've also recently had to update my Fedora Ice RPM packages to support GCC 4.3. I used the above patch as a base, but also had to #include <climits> in a few places to get INT_MAX, LONG_MAX, and PATH_MAX. My version of the patch is attached.

    The compile also produces a number of warnings about "suggest parentheses around && within ||" and, in the IcePHP code, about "deprecated conversion from string constant to 'char*'", which I have not investigated. :)