Using fpc version 2.1.4, on windows, with Valkyrie 4.1, I get these errors\warnings:
vstream.pas(148,18) Error: function header doesn't match the forward declaration "IOutputStream.Write(const LongInt, Pointer)"
vstream.pas(166,20) Warning: An inherited method is hidden by "constructor TFileInputStream.Open(const ShortString)"
vstream.pas(199,20) Warning: An inherited method is hidden by "constructor TMemoryOutputStream.Open(const LongInt)"
vstream.pas(235,20) Warning: An inherited method is hidden by "constructor TTextInputStream.Open(const ShortString)"
vstream.pas(255,17) Warning: An inherited method is hidden by "TTextInputStream.ReadString:ShortString"
vstream.pas(297,20) Warning: An inherited method is hidden by "constructor TSTDOutputStream.Create"
vstream.pas(328,1) Fatal: There were 1 errors compiling module, stopping
One thing to note is that initially it couldn't find a file vtextut.pas, which I couldn't see in the 4.1 library, so I added it from 4.2.
Thanks in advance.