The -errorendlocation tells the compiler to Output the line and column of the end location of each error in addition to the start location of the error/
-errorendlocation
This compiler option is unavailable in Visual Studio and cannot be changed programmatically. It is enabled by default when compiling inside Visual Studio.