[PATCH] score: PR1607: Add and use CPU_SIZEOF_POINTER

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Nov 5 09:24:06 UTC 2012


this is the second version of the patch.  Only the H8300 and M32C targets have 
pointer sizes depending on the multi-lib variant.  The H8300SX support seems to 
be broken.

I added a new static assert:


An alternative is to use


and hope that the compiler provides this define.

Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

More information about the devel mailing list