The Windows compiler & @main

The compiler is not rejecting //; the diagnostic just always points to the first line of the file, and it's misleading because it has nothing to do with any top-level code in that file. This is a build configuration issue just as with:

2 Likes