This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa] gdb_thread_db.h: #errror if no uintptr_t
- From: Joel Brobecker <brobecker at gnat dot com>
- To: Michael Elizabeth Chastain <mec at shout dot net>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 26 Feb 2003 10:39:12 -0800
- Subject: Re: [rfa] gdb_thread_db.h: #errror if no uintptr_t
- References: <200302261719.h1QHJb227567@duracef.shout.net>
> +#ifndef HAVE_UINTPTR_T
> +#error No uintptr_t available; your C library is too old.
> +/* Inhibit further compilation errors after this error. */
> +#define uintptr_t void *
> +#endif
Forgive my curiosity, why adding the "#define uintptr_t"? Isn't the
compilation going to stop with the #error message anyway?
--
Joel