add VCS compile option for unicode
VCS includes smart quotes in some DPI code, making G++ blow up during
compilation.
As a result we need to pass in -fno-extended-identifiers to tell G++ to
pretend that everything is ASCII and not error out during compilation.
Primary author:
Co-author:
# See the License for the specific language governing permissions and
# limitations under the License.
+# The -CFLAGS option is required as some VCS DPI code contains smart quotes
+# around some preprocessor macros, making G++ throw errors during compilation.
+# As a result, passing -fno-extended-identifiers tells G++ to pretend that
+# everything is ASCII, preventing strange compilation errors.
- tool: vcs
compile:
cmd:
-f <cwd>/files.f -full64
-l <out>/compile.log
-LDFLAGS '-Wl,--no-as-needed'
+ -CFLAGS '--std=c99 -fno-extended-identifiers'
-Mdir=<out>/vcs_simv.csrc
-o <out>/vcs_simv <cmp_opts> <cov_opts> "
cov_opts: >
