|
|
$ g++ hello_world.cpp -std=c++11 In file included from c:\mingw\include\wchar.h:208:0, from c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\cwchar:44, from c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\bits\postypes.h:40, from c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\iosfwd:40, from c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\ios:38, from c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\ostream:38, from c:\mingw\lib\gcc\mingw32\5.3.0\include\c++\iostream:39, from hello_world.cpp:2: c:\mingw\include\sys/stat.h:173:14: error: '_dev_t' does not name a type struct _stat __struct_stat_defined( _off_t, time_t ); |
$ g++ -v Using built-in specs. COLLECT_GCC=C:\MinGW\bin\g++.exe COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/5.3.0/lto-wrapper.exe Target: mingw32 Configured with: ../src/gcc-5.3.0/configure --build=x86_64-pc-linux-gnu --host=mingw32 --prefix=/mingw --disable-win32-registry --target=mingw32 --with-arch=i586 --enable-languages=c,c++,objc,obj-c++,fortran,ada --enable-static --enable-shared --enable-threads=posix --with-dwarf2 --disable-sjlj-exceptions --enable-version-specific-runtime-libs --enable-libstdcxx-debug --with-tune=generic --enable-libgomp --disable-libvtv --enable-nls Thread model: posix gcc version 5.3.0 (GCC) |
--build=x86_64-pc-linux-gnu |