mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-12-30 14:31:04 +00:00
245dd0a3f4
This occurs when the constant value is out of range of the type being assigned to. This is likely indicative of an error, or of code that assumes types have larger ranges than they do in ORCA/C (e.g. 32-bit int). This intentionally does not report cases where a value is assigned to a signed type but is within the range of the corresponding unsigned type, or vice versa. These may be done intentionally, e.g. setting an unsigned value to "-1" or setting a signed value using a hex constant with the high bit set. Also, only conversions to 8-bit or 16-bit integer types are currently checked.
16 lines
392 B
Plaintext
16 lines
392 B
Plaintext
#include "types.rez"
|
|
|
|
resource rVersion(1) {
|
|
{
|
|
2, /* Major revision */
|
|
2, /* Minor revision */
|
|
0, /* Bug version */
|
|
beta, /* Release stage */
|
|
7, /* Non-final release # */
|
|
},
|
|
verUS, /* Region code */
|
|
"ORCA/C", /* Short version number */
|
|
"Copyright 1997, Byte Works, Inc.\n" /* Long version number */
|
|
"Updated 2023"
|
|
};
|