clang (AppleClang 13.0.0.13000029) and msvc 2022 regard eof as an ambiguous symbol. Fully qualify it.
eof