论坛首页 编程语言技术论坛

gcc 执行c++报错

浏览 1909 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2012-07-09  
D:\cpp>g++ hello.cc
Info: 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 

 

   发表时间:2012-07-10  
你这涉猎范围广泛的很呢。哈
0 请登录后投票
   发表时间:2012-07-10  
yup110 写道
你这涉猎范围广泛的很呢。哈

必须的,我报了自考,而且改了专业,要考C++.
另外:最近没见你的踪迹啊渔夫。
0 请登录后投票
论坛首页 编程语言技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics