문제

Seems that GDC does not support -version=<ident> switch, like DMD does.

--version or -v do not work either.

How do I instruct compiler to use given version identifier?

도움이 되었습니까?

해결책

you need to use -fversion see the gdc wiki

다른 팁

The gdc program does not accept parameters in the same way that dmd does. If you'd like to use DMD-like parameters with gdc, use gdmd, a helper script which wraps gdc and exposes a dmd-like command-line interface. For example, gdmd will translate -version to -fversion.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top