voc icon indicating copy to clipboard operation
voc copied to clipboard

Occasional build failure on OpenBSD

Open dcwbrown opened this issue 9 years ago • 1 comments

Occasionally the build on OpenBSD will fail with MODULE expected. The error report goes on to show the error line, which is the very beginiing of file, and when the error reporting code reads the file the 'MODULE' statement is there just fine. It can happen on any Oberon source file, but it is always the first line.

It's worth looking into whether file buffer uniqueness management may not work correctly on OpenBSD - e.g. maybe we're relying on something in stat that's not valid for OpenBSD. Or maybe there's an uninitialised varianble :-(.

dcwbrown avatar Jul 09 '16 13:07 dcwbrown

Added dump of scanner variables for when this error hits and it shows that the reader is reporting eot from the start. Possibly an uninitialised variable in texts, readers or files. ...

dcwbrown avatar Aug 24 '16 11:08 dcwbrown