Hi ,
      The following simple testcase does not compile using GCC4.1.1

#include <cstdlib>

int main() {
        char **const p = (char **)std::malloc(sizeof*p);
        return !p;
}


-- 
           Summary: gcc4.1. has problems with pointers
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: satyaakam at yahoo dot co dot in


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31045

Reply via email to