找回密码
 注册
搜索
查看: 3223|回复: 5

[资料] 高手请您发言解决这个奇怪的编译错误

[复制链接]
发表于 2009-4-16 01:00:15 | 显示全部楼层 |阅读模式

make[1]: Entering directory `D:/E3202_3308'
Compiling plutommi/mtkapp/gdi/gdisrc/gdi_bytestream.c ...
Compiling plutommi/mtkapp/svg/svgsrc/svg_parser_ellipse.c ...
Compiling plutommi/mtkapp/svg/svgsrc/svg_parser_font.c ...
Compiling plutommi/mtkapp/svg/svgsrc/svg_parser_group.c ...
Compiling plutommi/mtkapp/svg/svgsrc/svg_parser_image.c ...
Compiling plutommi/mtkapp/svg/svgsrc/svg_parser_line.c ...
Compiling plutommi/mtkapp/svg/svgsrc/svg_parser_path.c ...
Compiling plutommi/mtkapp/svg/svgsrc/svg_parser_polygline.c ...
Compiling plutommi/mtkapp/svg/svgsrc/svg_parser_polygon.c ...
Compiling plutommi/mtkapp/svg/svgsrc/svg_parser_rect.c ...
Compiling plutommi/mtkapp/svg/svgsrc/svg_parser_svg.c ...
Compiling plutommi/mtkapp/svg/svgsrc/svg_parser_switch.c ...
Compiling plutommi/mtkapp/svg/svgsrc/svg_parser_text.c ...
"plutommi\mtkapp\gdi\gdisrc\gdi_bytestream.c", line 1128: Fatal error: Internal fault: 0x55af in 'gdi_bytestream_create_file'
Please contact your supplier.
make[1]: *** [gdi_bytestream.obj] Error 1
make[1]: *** Waiting for unfinished jobs....[/COLOR]make[1]: Leaving directory `D:/E3202_3308'[/COLOR]
 楼主| 发表于 2009-4-16 01:01:45 | 显示全部楼层
知道的哼一声········[em01]THANKS``````````````
点评回复

使用道具 举报

发表于 2009-4-16 09:45:08 | 显示全部楼层
arm的编译器的bug,去下载对应的那个848补丁升级即可.升级后的版本应该是

ARM C Compiler, ADS1.2 [Build 848]

具体解释,参考:

C/C++ Compilers

Build 848 fixes problems with access to nonstatic member functions in C++, functions with pointer-to-function parameters in C++, register stacking in Thumb code, ordering of arguments of shifted compares, float/double stores incorrectly being optimized away, a rare peephole optimization at -O2, boolean conversion in C++ code, incorrect division due to register allocation, evaluation of shift operations, corruption of SB in RWPI code, and stores to malloc'd pointers following memcpy. The C++ compiler now also allows multiple declaration specifications in conditions.

Build 844 added a new switch -Wc to suppress the #pragma warning C2813W.

Build 842 fixes some problems with code generation differences between platforms, Thumb branch/literal pool issues, code optimization, '#pragma arm section', "Internal faults" 0xd288 and 0x2696, and initializing nested structures in C++.

Build 837 fixed faults in the areas of generation of browse information, __packed bitfield initialization, code optimization, DWARF2 line tables, __packed typedefs, #pragma preprocessing, "Internal faults" 0x49de and 0x55af, and memory leaks when compiling with CodeWarrior.
点评回复

使用道具 举报

发表于 2009-4-16 10:17:09 | 显示全部楼层
建议大家在代码中加入宏,防止再掉进坑里了
#if __ARMCC_VERSION != 120848
#error Caution:  Update  ADS  to Patch 848 !!
#endif
点评回复

使用道具 举报

 楼主| 发表于 2009-4-16 12:30:11 | 显示全部楼层
怎么正确答案?????????[/COLOR]
点评回复

使用道具 举报

发表于 2009-4-17 09:03:19 | 显示全部楼层
4楼建议不错~~
点评回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies

本版积分规则

Archiver|手机版|小黑屋|52RD我爱研发网 ( 沪ICP备2022007804号-2 )

GMT+8, 2025-1-23 13:57 , Processed in 0.046561 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表