This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch #2] fix C++ warning bootstrap failure on sparc


Andreas Tobler wrote:
Ralf Wildenhues wrote:
Hello Andreas,

Andreas Tobler <andreast-list <at> fgznet.ch> writes:
2008-07-05 Andreas Tobler <a.tobler <at> schweiz.org>

    * configure.ac: Check for caddr_t, define to char * if not defined.
    * configure: Regenerate.
    * ggc-common.c (mmap_gt_pch_get_address): Fix -Wc++-compat warnings.
    (mmap_gt_pch_use_address): Likewise.
    * config/host-solaris.c (sol_gt_pch_use_address): Likewise.

This patch needs an update of gcc/config.in.

Sorry, will post tonight.

I hope this is obvious, isn't it?


Thanks,
Andreas

2008-07-07 Andreas Tobler <a.tobler@schweiz.org>

* config.in: Regenerate.


Index: config.in =================================================================== --- config.in (revision 137581) +++ config.in (working copy) @@ -1518,6 +1518,12 @@ #endif


+/* Define to `char *' if <sys/types.h> does not define. */ +#ifndef USED_FOR_TARGET +#undef caddr_t +#endif + + /* Define to `int' if <sys/types.h> doesn't define. */ #ifndef USED_FOR_TARGET #undef gid_t


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]