There is a strange occurrence of Unicode characters used in the following source file of UVM: 1800.2-2020-1.1/src/dpi/uvm_hdl_vcs.c at line 37.
#if defined(VCSMX_FAST_UVM) && !defined(MHPI_FAST_UVM)
#error “UVM_ERROR: THIS VERSION OF VCS DOESN’T SUPPORT VCSMX_FAST_UVM. Compile without -DVCSMX_FAST_UVM”
#endif
Some C compilers/GCC versions might treat the “ (U+201C, Left Double Quotation Mark) and ” (U+201D, Right Double Quotation Mark) as invalid in identifiers and thus result in a compilation error. I guess it is tied to Synopsys hence the VCS tag, but it might still need a fix