Open SergeevPavel opened 4 years ago
Yes, setting the -std
option sounds plausible. Is it expected that i686-pc-windows-gnu
uses a different std by default than other platforms?
Do you have steps I can use to reproduce?
According to https://docs.microsoft.com/en-us/cpp/build/reference/std-specify-language-standard-version?view=vs-2019 MSVC
use /std:c++14
so everything is fine. I invesitgate gcc and found that it use c11
as default and my problem was connected with too old compiler, I use https://gcc.gnu.org/onlinedocs/gcc-4.9.3/gcc/Standards.html#Standards.
So steps to reproduce select some of gnu rust toolchain, and use gcc-4.9.3
.
Should we setup
-std
option forcc
inbuild.rs
?