Menu

#101 AC_CHECK_TYPE fails to detect intptr_t (with gcc-4)

closed-fixed
nobody
None
5
2005-02-02
2005-01-30
No

AC_CHECK_TYPE(intptr_t,long)
does not search in unistd.h for this type. Thus defines
intptr_t to be long, and then turns the typedef in
unistd.h into one that defines long.

I thought one could patch configure.in to use the
modern AC_CHECK_TYPE, for which one can define
additional headers, but that would include requiring a
newer version of autoconf. And i am not sure whether
the rest of configure.in, is in the right shape for that.

So far this only happens with gcc-4.

Discussion

  • Theodore Ts'o

    Theodore Ts'o - 2005-02-02
    • status: open --> closed-fixed
     
  • Theodore Ts'o

    Theodore Ts'o - 2005-02-02

    Logged In: YES
    user_id=628

    This has been fixed in e2fsprogs 1.36-rc5