This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 12 bits compiler
- From: Lars Brinkhoff <lars dot spam at nocrew dot org>
- To: Pierre Mallard <pierremallard at yahoo dot fr>
- Cc: gcc at gcc dot gnu dot org
- Date: 19 Jun 2002 13:32:08 +0200
- Subject: Re: 12 bits compiler
- Organization: nocrew
- References: <20020619112421.32640.qmail@web20304.mail.yahoo.com>
Pierre Mallard <pierremallard@yahoo.fr> writes:
> #ifdef GVPP_FORMAT_12
> #define SIZE_TYPE "long unsigned int"
> #else
> #ifdef GVPP_FORMAT_16
> #define SIZE_TYPE "long unsigned int"
> #else
> #define SIZE_TYPE "unsigned int"
> #endif
> #endif
>
> #ifdef GVPP_FORMAT_12
> #define PTRDIFF_TYPE "unsigned int"
> #else
> #ifdef GVPP_FORMAT_16
> #define PTRDIFF_TYPE "unsigned int"
> #else
> #define PTRDIFF_TYPE "unsigned int"
> #endif
> #endif
PTRDIFF_TYPE should probably be the corresponding signed SIZE_TYPE.
--
Lars Brinkhoff http://lars.nocrew.org/ Linux, GCC, PDP-10,
Brinkhoff Consulting http://www.brinkhoff.se/ HTTP programming