简体   繁体   中英

Why std lib from GDC is not the same that phobos from DMD

For example, I can not compile using GDC 5.2.0 (2016-02-05T11:17:49.3234388) a program importing std.meta because that file is not found.

I was comparing the include folders between GDC and DMD and I found a great mismatch of versions.

\lib\gcc\x86_64-w64-mingw32\5.2.0\include\d\std     from GDC  5.2.0 
dmd2\src\phobos\std                                 from DMD2 2.070.0

This preventing that I can use GDC with confidence.

Anyone knows why includes of GDC are not the same Phobos library?

GDC and LDC lag behind DMD, as adapting the latest DMD changes with the respective compiler backends takes some time.

Note the DMDFE column on the downloads page:

http://gdcproject.org/downloads

It indicates which DMD version the corresponding release is based on.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM