This is an error I've never seen until now and it doesn't make sense to me. Why am I getting it on this line:
Code:
SceneryXOffset[LoopCount] = 099385ll; SceneryOffsetStart[LoopCount] = 0; SceneryOffsetWidth[LoopCount] = 86; LoopCount++; // straw huts (3)
I'm not providing extra lines as I have several such closely related things together. The ll (LL) is there for a reason - it's intended to be a 64-bit integer. The others are just regular 32-bit integers. This one line alone has 3 errors, of which I don't get:
Code:
1>.\Platform Masters.c(14616) : error C2041: illegal digit '9' for base '8'
1>.\Platform Masters.c(14616) : error C2041: illegal digit '9' for base '8'
1>.\Platform Masters.c(14616) : error C2041: illegal digit '8' for base '8'
I've used lots of 64-bit integers without problems, so what's going on? How come the similar lines directly below have no problems?
Code:
SceneryXOffset[LoopCount] = 654373ll; SceneryOffsetStart[LoopCount] = 0; SceneryOffsetWidth[LoopCount] = 86; LoopCount++;
SceneryXOffset[LoopCount] = 816026ll; SceneryOffsetStart[LoopCount] = 0; SceneryOffsetWidth[LoopCount] = 86; LoopCount++;
... // plus 21 more grouped up like this, none of which have any problems
Thinking the leading zero is the culprit, how come this line works just fine, found 37 lines below the one without the error when the one being flagged does produce an error?
Code:
SceneryXOffset[LoopCount] = 051302ll; SceneryOffsetStart[LoopCount] = 0; SceneryOffsetWidth[LoopCount] = 86; LoopCount++;
Any ideas? Thanks.