|
|
imax is just a define to whatever is the largest number type available, as for FF# etc just define them as 0U for simple testing. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define zxCHAR_BITS X( zxUCHAR_MAX ) then it gets past the line but reaches this error instead:1>c:\me\prjs\cpp\zxgui\include\zx\std\limits/all.h(181): fatal error C1012: unmatched parenthesis : missing ')'
| Still no responses huh? |
| to see if it is possible to write a limits.h file WITHOUT using the compiler's own version. |
|
|
| 2. has 8 bit bytes |
| static unsigned short zxCHAR_BIT = (( zxUCHAR_MAX == ZXLV1 ) ? 1 : ((zxUCHAR_MAX == ZXLV2) ? 2 : etc... )))))... #if zxCHAR_BIT == CHAR_BIT |
|
|
|
|
|
|