[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
If you encounter a bug with GPC, please check whether it is one of the known bugs (see section 12.1 Known bugs in GPC) . If not, please report it to the GNU Pascal mailing list (see section 11.1 The GPC Mailing List) . That way, they always reach the maintainers. Please note the following points.
Another good article "How To Ask Questions The Smart Way" is available as http://www.tuxedo.org/~esr/faqs/smart-questions.html
Note: While it is possible to combine several `OK' tests in a single test program (if you make sure that it outputs `OK' only if all tests pass), you cannot put several `WRONG' tests into one test program. This is because the compiler will fail (and the test therefore be regarded as successful) already if one error occurs. So, for `WRONG' tests, write only one check per test program. Also, try to keep such a test program as simple as possible, to avoid the risk that it will fail because of other problems (and therefore the test be mistakenly considered successful).
(* FLAG --extended-pascal -Werror *) |
... |
This is a little unnatural since a random number is used to (re-)seed the random number generator, but there's currently no way to retrieve the internal state of the random number generator (and in fact, it's not represented by a single number, but by an array).
Given the value of `RandomSeed' in an error message, it should then be possible to reproduce the problem by inserting this value in place of the `Random (MaxInt)'. Just be sure to print this value in every message of failure the program may produce.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |