gcc 执行c++报错

来源:互联网 发布:linux定制桌面 编辑:程序博客网 时间:2024/05/29 15:33
D:\cpp>g++ hello.ccInfo: resolving std::cout  by linking to __imp___ZSt4cout (auto-import)c:/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe: warning: auto-importing has been activated without --enable-auto-import specified on the command line.This should work unless it involves constant data structures referencing symbols from auto-imported DLLs.

 gcc下执行时报此错 加参:

 

 

g++ -enable-auto-import hello.cc 

 

0 0