|
|
| Author |
Message |
pjc30943
Joined: 02 Dec 2005
Posts: 220
|
|
Posted: 13 August 2008, 5:54 AM Post subject: Internal error: variable.cpp |
|
|
An odd occurrence which might be of interest:
In a section of code in another module, I declared a constant with a *variable* in its argument, which was only set a few lines later.
Somehow, the code compiled when a few types of specific commands (such as sleep 0.0) were in Main(). This shouldn't have compiled in the first place.
Removing these seemingly unrelated commands caused the following error:
Internal error: variable.cpp(9833), Rev 1203: missing constant value, "...
So, somehow the compiler got it right in a few cases, and in the other instances those constants were presumably set to some unknown (or random) value. |
|
| Back to top |
|
 |
dkinzer Site Admin
Joined: 03 Sep 2005
Posts: 2493
Location: Portland, OR
|
|
Posted: 13 August 2008, 15:13 PM Post subject: Re: Internal error: variable.cpp |
|
|
| pjc30943 wrote: | | This shouldn't have compiled in the first place. | Assuming that I understood your description (a small test case that demonstrates the issue is the best way to unequivocally describe a problem), you are correct. We were able to replicate the problem and have resolved it.
Thanks. |
|
| Back to top |
|
 |
pjc30943
Joined: 02 Dec 2005
Posts: 220
|
|
Posted: 13 August 2008, 17:36 PM Post subject: |
|
|
Okay.
[I didn't give a test case: several things were altered to correct the error, and I was unable to backtrack successfully to reproduce it later in the day when posting.] |
|
| Back to top |
|
 |
|