I've just tried to clone/build beebasm, from github, and I get a compile error:
Code: Select all
Compiling ... commands.cpp
commands.cpp: In member function ‘void LineParser::HandlePutFileCommon(bool)’:
commands.cpp:1757:51: error: ‘streampos’ is not a member of ‘std::ifstream’ {aka ‘std::basic_ifstream<char>’}
1757 | ifstream::streampos p = inputFile.tellg();
| ^~~~~~~~~
commands.cpp:1760:66: error: ‘p’ was not declared in this scope
1760 | inputFile.seekg( p );
| ^
make[1]: *** [Makefile.inc:227: objects/commands.o] Error 1
make: *** [Makefile.inc:183: objs] Error 2
Code: Select all
git clone https://github.com/stardot/beebasm/
git clone https://github.com/stardot/beebasm/ proposed-updates
git clone https://github.com/cpu6502/beebasm/ bug-streampos
I'm on Linux (Fedora 35, or Debian 10 or 11).
Please can anyone tell me what branch I need, to compile OK?
Thanks,
John.