Simple question: Why is the version of g++ lower in the Bash For Windows subsystem than in Ubuntu proper?
Complicated question: Is there a way to fast forward the version of g++ on the Bash For Windows subsystem to what is pushed to normal Ubuntu systems?
Specifically, this question is stemming out of my need to use the c++17 filesystem implementation/support: With the same compile command ( g++ -Wall -std=c++1y main.cpp -o main
), the same file will not compile on Windows but will in Ubuntu:
#include <experimental/filesystem>
int main() {}
Any suggestions?
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.