小型basic编译器问题提示这么多问题怎么回事

|服务与支持
|新闻与出版
以下问答仍无法解决疑问
欢迎与我们联系,
以获得更多协助。
400-820-9595
此信息是否能帮到您?
系统编译已经提示成功,但有很多黄色惊叹号的报警,会不会有什么问题呢?
发布日期:
只要编译成功,说明在功能的使用上已经没有问题。一些报警的提示是对您元件
操作不规范的提示,比如&元件的超出边界&等等,不会影响您程序的正常执行的。
版权所有:中达电通股份有限公司
|客服热线:400-820-9595&地址:上海市浦东新区民夏路238号
|台达集团 沪ICP备号&&【图片】编译器在运行前没有检查出任何问题,但运行时问题很多,求解【c++吧】_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天继续来努力!
本吧签到人数:0成为超级会员,使用一键签到本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会员单次开通12个月以上,赠送连续签到卡3张
关注:289,508贴子:
编译器在运行前没有检查出任何问题,但运行时问题很多,求解收藏
c++O基础学习中心「需高中以上」c++,达内总监授课,免费试学!达内IT培训,专设c++学习课程,「入门+精通」,一步全搞定!学习+就业!
附赠:/*std_lib_facilities_4.hMinimally revised for C++11 features of GCC 4.6.3 or laterWalter C. DaugherityJune 10, 2012 and January 9, 2014*//*simple &Programming: Principles and Practice using C++& course header tobe used for the first few weeks.It provides the most common standard headers (in the global namespace)and minimal exception/error support.Students: please don't try to understand the details of headers just yet.All will be explained. This header is primarily used so that you don't haveto understand every concept all at once.Revised April 25, 2010: simple_error() added*/#ifndef H112#define H112 201401L#define GCC_VERSION (__GNUC__*10000 + __GNUC_MINOR__*100 + __GNUC_PATCHLEVEL__)#if GCC_VERSION &= 40603//New C++11 headers in GCC 4.6.3 or later#include &array&#include &regex&#include &thread&#include &mutex&#include &forward_list&#include &ratio&#include &tuple&#include &chrono&#include &random&#endif#include&iostream&#include&fstream&#include&sstream&#include&cmath&#include&cstdlib&#include&string&#include&list&#include&vector&#include&algorithm&#include&stdexcept&//------------------------------------------------------------------------------#if GCC_VERSION &= 40603#include &unordered_map&#include &unordered_set&#else#define unordered_map hash_map#ifdef _MSC_VER#include &hash_map&using stdext::hash_#else#include &ext/hash_map&using __gnu_cxx::hash_namespace __gnu_cxx {template&& struct hash&std::string&{size_t operator()(const std::string& s) const{return hash&char*&()(s.c_str());}};} // of namespace __gnu_cxx#endif //_MSC_VER#endif //GCC_VERSION &= 40603//------------------------------------------------------------------------------typedef long U//------------------------------------------------------------------------------template&class T& string to_string(const T& t){os &&return os.str();}struct Range_error : out_of_range {// enhanced vector range error reportingRange_error(int i) :out_of_range(&Range error: & + to_string(i)), index(i) { }};// trivially range-checked vector (no iterator checking):template& class T& struct Vector : public std::vector&T& {typedef typename std::vector&T&::size_type size_Vector() { }explicit Vector(size_type n) :std::vector&T&(n) {}Vector(size_type n, const T& v) :std::vector&T&(n, v) {}template &class I&Vector(I first, I last) : std::vector&T&(first, last) {}#if GCC_VERSION &= 40603Vector(initializer_list&T& list) : std::vector&T&(list) {}#endifT& operator[](unsigned int i) // rather than return at(i);{if (this-&size() &= i) throw Range_error(i);return std::vector&T&::operator[](i);}const T& operator[](unsigned int i) const{if (this-&size() &= i) throw Range_error(i);return std::vector&T&::operator[](i);}};// disgusting macro hack to get a range checked vector:#define vector Vector// trivially range-checked string (no iterator checking):struct String : std::string {String() { }String(const char* p) :std::string(p) {}String(const string& s) :std::string(s) {}template&class S& String(S s) : std::string(s) {}String(int sz, char val) :std::string(sz, val) {}template&class Iter& String(Iter p1, Iter p2) : std::string(p1, p2) { }char& operator[](unsigned int i) // rather than return at(i);{if (size() &= i) throw Range_error(i);return std::string::operator[](i);}const char& operator[](unsigned int i) const{if (size() &= i) throw Range_error(i);return std::string::operator[](i);}};#ifndef _MSC_VER#if GCC_VERSION &= 40603namespace std {template&& struct hash&String&{size_t operator()(const String& s) const{return hash&std::string&()(s);}};} // of namespace std#elsenamespace __gnu_cxx {template&& struct hash&String&{size_t operator()(const String& s) const{return hash&std::string&()(s);}};} // of namespace __gnu_cxx#endif //GCC_VERSION &= 40603#endif //_MSC_VERstruct Exit : runtime_error {Exit() : runtime_error(&Exit&) {}};// error() simply disguises throws:inline void error(const string& s){throw runtime_error(s);}inline void error(const string& s, const string& s2){error(s + s2);}inline void error(const string& s, int i){os && s && &: & &&error(os.str());}#if _MSC_VER&1500// disgusting macro hack to get a range checked string:#define string String// MS C++ 9.0 have a built-in assert for string range check// and uses &std::string& in several places so that macro substitution fails#endiftemplate&class T& char* as_bytes(T& i)// needed for binary I/O{void* addr = &i;// get the address of the first byte// of memory used to store the objectreturn static_cast&char*&(addr); // treat that memory as bytes}inline void keep_window_open(){cin.clear();cout && &Please enter a character to exit\n&;cin &&}inline void keep_window_open(string s){if (s == &&)cin.clear();cin.ignore(120, '\n');for (;;) {cout && &Please enter & && s && & to exit\n&;while (cin && ss && ss != s)cout && &Please enter & && s && & to exit\n&;}}// error function to be used (only) until error() is introduced in Chapter 5:inline void simple_error(string s)// write ``error: s and exit program{cerr && &error: & && s && '\n';keep_window_open();// for some Windows environmentsexit(1);}// make std::min() and std::max() accessible:#undef min#undef max#include&iomanip&inline ios_base& general(ios_base& b)// to augment fixed and scientific{b.setf(ios_base::fmtflags(0), ios_base::floatfield);}// run-time checked narrowing cast (type conversion):template&class R, class A& R narrow_cast(const A& a){R r = R(a);if (A(r) != a) error(string(&info loss&));}inline int randint(int max) { return rand() % }inline int randint(int min, int max) { return randint(max - min) + }inline double sqrt(int x) { return sqrt(double(x)); }// to match C++0x#endif //H112
初始化列表 是用大括号?
学会用单步调试,很有帮助
把错误信息贴出来还能找找原因,看不清错误信息啊。你会调试吗?
登录百度帐号推荐应用编译CE5.0系统为什么会出现很多警告错误 - 嵌入式系统编程 - 电子工程世界-论坛
后使用快捷导航没有帐号?
查看: 2993|回复: 13
编译CE5.0系统为什么会出现很多警告错误
在线时间0 小时
TA的帖子TA的资源
一粒金砂(初级), 积分 0, 距离下一级还需 5 积分
一粒金砂(初级), 积分 0, 距离下一级还需 5 积分
编译CE5.0系统时,为什么会出现很多警告错误?上百个,提示某路径不存在
这是为什么呢?
在线时间2 小时
TA的帖子TA的资源
一粒金砂(初级), 积分 0, 距离下一级还需 5 积分
一粒金砂(初级), 积分 0, 距离下一级还需 5 积分
把错误贴上来看看,不然怎么知道?
在线时间1 小时
TA的帖子TA的资源
一粒金砂(初级), 积分 0, 距离下一级还需 5 积分
一粒金砂(初级), 积分 0, 距离下一级还需 5 积分
警告可以不理它,这是历史性的问题
在线时间5 小时
TA的帖子TA的资源
一粒金砂(初级), 积分 0, 距离下一级还需 5 积分
一粒金砂(初级), 积分 0, 距离下一级还需 5 积分
警告无所谓的。
错误才会阻止编译
在线时间2 小时
TA的帖子TA的资源
一粒金砂(初级), 积分 0, 距离下一级还需 5 积分
一粒金砂(初级), 积分 0, 距离下一级还需 5 积分
呵呵~ 出现警告很正常的啊
在线时间0 小时
TA的帖子TA的资源
一粒金砂(初级), 积分 0, 距离下一级还需 5 积分
一粒金砂(初级), 积分 0, 距离下一级还需 5 积分
一般警告没事。
注意打补丁。
在线时间2 小时
TA的帖子TA的资源
一粒金砂(初级), 积分 0, 距离下一级还需 5 积分
一粒金砂(初级), 积分 0, 距离下一级还需 5 积分
Wince的各个模块有一些关联性,出现警告可能是因为你没有选全相关联的选项。
路径不存在也是warning里的?
rebuild一下吧。可能时间会很长,因为要编译库文件。
在线时间0 小时
TA的帖子TA的资源
一粒金砂(初级), 积分 0, 距离下一级还需 5 积分
一粒金砂(初级), 积分 0, 距离下一级还需 5 积分
可能我太较真了
也知道警告不影响编译,但是几百个警告,也让人觉得不舒服
在线时间0 小时
TA的帖子TA的资源
一粒金砂(初级), 积分 0, 距离下一级还需 5 积分
一粒金砂(初级), 积分 0, 距离下一级还需 5 积分
上百个,有点多,我的只有5个
在线时间0 小时
TA的帖子TA的资源
一粒金砂(初级), 积分 2, 距离下一级还需 3 积分
一粒金砂(初级), 积分 2, 距离下一级还需 3 积分
有时候会把警告当错误的
在线时间124 小时
TA的帖子TA的资源
一粒金砂(初级), 积分 0, 距离下一级还需 5 积分
一粒金砂(初级), 积分 0, 距离下一级还需 5 积分
BUILD: [00::WARNN ] \WINCE500\PLATFORM\smdk2440\DRIVERS\CANBus\: Missing source file: CANBus.c.
BUILD: [00::WARNS ] Directory: E:\WINCE500\platform\smdk2440\xllp\inc\ does not exist.
BUILD: [00::PROGC ] Scan \WINCE500\PLATFORM\smdk2440\DRIVERS\dm9000\
BUILD: [00::WARNS ] Directory: E:\WINCE500\platform\smdk2440\xllp\xlli\inc\ does not exist.
BUILD: [00::WARNS ] Directory: E:\WINCE500\platform\smdk2440\xllp\inc\ does not exist.
BUILD: [00::PROGC ] Scan \WINCE500\PLATFORM\smdk2440\DRIVERS\atapi\
BUILD: [00::WARNS ] Directory: \WINCE500\PLATFORM\smdk2440\KERNEL\inc\ does not exist.
BUILD: [00::PROGC ] Scan \WINCE500\PLATFORM\smdk2440\KERNEL\BUILDEXE\KERNKITL\
BUILD: [00::WARNS ] Directory: \WINCE500\PLATFORM\smdk2440\KERNEL\inc\ does not exist.
BUILD: [01::WARNN ] csp_arm920t.lib(cfw.obj) : warning LNK4099: PDB 'csp_arm920t.pdb' was not found with 'E:\WINCE500\platform\smdk2440\lib\ARMV4I\retail\csp_arm920t.lib' or at 'E:\WINCE500\platform\smdk2440\target\ARMV4I\retail\csp_arm920
t.pdb'; linking object as if no debug info
BUILD: [00::PROGC ] Linking \WINCE500\PLATFORM\smdk2440\KERNEL\BUILDEXE\KERNKITL\ directory.
BUILD: [01::PROGC ] Linking E:\WINCE500\platform\smdk2440\target\ARMV4I\retail\kernkitl.exe
BUILD: [01::WARNN ] ne2kdbg.lib(ne2000.obj) : warning LNK4099: PDB 'ne2kdbg.pdb' was not found with 'E:\WINCE500\platform\smdk2440\lib\ARMV4I\retail\ne2kdbg.lib' or at 'E:\WINCE500\platform\smdk2440\target\ARMV4I\retail\ne2kdbg.pdb'; linki
ng object as if no debug info
BUILD: [01::WARNN ] csp_arm920t.lib(cfw.obj) : warning LNK4099: PDB 'csp_arm920t.pdb' was not found with 'E:\WINCE500\platform\smdk2440\lib\ARMV4I\retail\csp_arm920t.lib' or at 'E:\WINCE500\platform\smdk2440\target\ARMV4I\retail\csp_arm920
t.pdb'; linking object as if no debug info
BUILD: [01::WARNN ] vbridge.lib(vbridge.obj) : warning LNK4099: PDB 'vbridge.pdb' was not found with 'E:\WINCE500\platform\smdk2440\lib\ARMV4I\retail\vbridge.lib' or at 'E:\WINCE500\platform\smdk2440\target\ARMV4I\retail\vbridge.pdb'; link
ing object as if no debug info
BUILD: [00::PROGC ] Linking \WINCE500\PLATFORM\smdk2440\KERNEL\BUILDEXE\KERNKITLPROF\ directory.
BUILD: [01::PROGC ] Linking E:\WINCE500\platform\smdk2440\target\ARMV4I\retail\kernkitlprof.exe
BUILD: [01::WARNN ] nkprof.lib(pgpool.obj) : warning LNK4099: PDB 'nkprmain.pdb' was not found with 'E:\WINCE500\platform\smdk2440\lib\ARMV4I\retail\nkprof.lib' or at 'E:\WINCE500\platform\smdk2440\target\ARMV4I\retail\nkprmain.pdb'; linki
ng object as if no debug info
BUILD: [01::WARNN ] nkprof.lib(kdriver.obj) : warning LNK4099: PDB 'nkprmain.pdb' was not found with 'E:\WINCE500\platform\smdk2440\lib\ARMV4I\retail\nkprof.lib' or at 'E:\WINCE500\platform\smdk2440\target\ARMV4I\retail\nkprmain.pdb'; link
ing object as if no debug info
BUILD: [01::WARNN ] nkprof.lib(profiler.obj) : warning LNK4099: PDB 'nkprmain.pdb' was not found with 'E:\WINCE500\platform\smdk2440\lib\ARMV4I\retail\nkprof.lib' or at 'E:\WINCE500\platform\smdk2440\target\ARMV4I\retail\nkprmain.pdb'; lin
king object as if no debug info
regcomp: WARNING, syntax error on or near line 6220 of reginit. line skipped.
regcomp: WARNING, syntax error on or near line 6221 of reginit. line skipped.
Warning: Mismatched time stamp on .rel file for module sdmemory.dll
Rel files are required to load the code section of modules into slot 1 and therefore freeing up more virtual memory space in slot 0.
Warning: No .rel file found for module sdmemory.dll, using old fixup style.
Warning: No .rel file found for module ssce20.dll, using old fixup style.
Warning: No .rel file found for module ssceca20.dll, using old fixup style.
这些是部分出现的警告,不知道什么原因
在线时间0 小时
TA的帖子TA的资源
一粒金砂(初级), 积分 0, 距离下一级还需 5 积分
一粒金砂(初级), 积分 0, 距离下一级还需 5 积分
一些是没有debug信息的warning,这些没有关系的。
一些是link的时候的warning,这是因为c在Complie以后,会进行link尝试。
在线时间0 小时
TA的帖子TA的资源
一粒金砂(初级), 积分 0, 距离下一级还需 5 积分
一粒金砂(初级), 积分 0, 距离下一级还需 5 积分
引用 11 楼 vcleaner 的回复:
一些是没有debug信息的warning,这些没有关系的。
一些是link的时候的warning,这是因为c在Complie以后,会进行link尝试。
什么意思?编译后要连接吗? c编译后要执行连接?这个c指什么?
在线时间0 小时
TA的帖子TA的资源
一粒金砂(初级), 积分 0, 距离下一级还需 5 积分
一粒金砂(初级), 积分 0, 距离下一级还需 5 积分
这两行不正常,其他可以忽略:
regcomp: WARNING, syntax error on or near line 6220 of reginit. line skipped.
regcomp: WARNING, syntax error on or near line 6221 of reginit. line skipped.
EEWORLD 官方微信
EE福利 唾手可得
Powered by查看: 14904|回复: 16
很多易语言编译出的软件都出现已停止工作怎么办
头像被屏蔽
结帖率: (14/48)
如题&&很多编译出来的软件一打开都会出现“出现了一个问题,导致程序停止正常工作。请关闭该程序”& &用为除下列选定程序之外的所有程序和服务启用 DEP
QQ截图39.png (14.16 KB, 下载次数: 0)
20:52 上传
就能正常运行了& &但是每个软件都要这样&&好麻烦啊&&怎么办&&附图
图.png (15.73 KB, 下载次数: 0)
20:49 上传
回答提醒:如果本帖被关闭无法回复,您有更好的答案帮助楼主解决,请发表至
可获得加分喔。友情提醒:本版被采纳的主题可在
帖子申请荣誉值,获得 1点 荣誉值,荣誉值可兑换终身vip用户组哦。快捷通道: →
阅读权限90
签到天数: 21 天
表示程序一切正常,是楼主自己写代码的问题把~
您可以选择打赏方式支持他
阅读权限130
签到天数: 17 天结帖率: (32/45)
你系统什么版本
您可以选择打赏方式支持他
阅读权限30
这是系统的问题&&系统的某些DLL文件被修改了&&导致易语言程序调用时出错&&或者是易语言的程序被修改了也可能 不过可能性不大 因为出现“出现了一个问题,导致程序停止正常工作。请关闭该程序”一般是系统调用的 所以系统问题可能性比较大&&还有就是 win7 win8系统貌似存在不同程度不兼容易语言编译的程序&&因为易语言的编译器是vc6的 而vc6的编译器比较适用于xp系统&&win7是在vc6后出的 所以不太兼容&&导致出错
您可以选择打赏方式支持他
阅读权限165
看图!!!
QQ截图45.jpg (30.23 KB, 下载次数: 0)
21:55 上传
您可以选择打赏方式支持他
阅读权限90
签到天数: 22 天
有可能是代码问题
您可以选择打赏方式支持他
阅读权限165
签到天数: 3 天结帖率: (4/4)
右键-以管理员身份运行就可以了
您可以选择打赏方式支持他
阅读权限30
结帖率: (1/1)
高大上手机用户
是你的代码问题,规范的代码不会触发DEP异常,最典型的问题是直接用变量来生成汇编代码执行
您可以选择打赏方式支持他
头像被屏蔽
结帖率: (14/48)
表示程序一切正常,是楼主自己写代码的问题把~
代码没问题&&其他人可以正常打开& &
您可以选择打赏方式支持他
头像被屏蔽
结帖率: (14/48)
你系统什么版本
win7& &32位&&
您可以选择打赏方式支持他
拒绝任何人以任何形式在本论坛发表与中华人民共和国法律相抵触的言论,本站内容均为会员发表,并不代表精易立场!
揭阳精易科技有限公司申明:我公司所有的培训课程版权归精易所有,任何人以任何方式翻录、盗版、破解本站培训课程,我们必将通过法律途径解决!
公司简介:揭阳市揭东区精易科技有限公司致力于易语言教学培训/易语言学习交流社区的建设与软件开发,多年来为中小企业编写过许许多多各式软件,并把多年积累的开发经验逐步录制成视频课程供学员学习,让学员全面系统化学习易语言编程,少走弯路,减少对相关技术的研究与摸索时间,从而加快了学习进度!
防范网络诈骗,远离网络犯罪
违法和不良信息举报电话,企业QQ: ,邮箱:@
Powered by
粤公网安备 25

我要回帖

更多关于 妇科怎么这么多问题 的文章

 

随机推荐