[LED.c] \"c:\\ti\\c5500\\cgtools\\bin\\cl55\" -g -q -fr\"C:/ICETEK/VC5509AS61/C/led/Debug\" -@\"../C/led/Debug.lkf\" \"LED.c\"
\"LED.c\", line 25: warning: conversion from integer to smaller pointer
\"LED.c\", line 30: warning: conversion from integer to smaller pointer
\"LED.c\", line 35: warning: last line of file ends without a newline
我的程序是这样的
#define LBDS (*((unsigned int *)0x400001))
unsigned int uLED[4]={1,2,4,8};
LBDS=uLED[0]; 就在这行有警告
这是两个警告
\"xunlian.c\", line 45: warning: conversion from integer to smaller pointer
>> warning: \'.sysmem\' section not found -- ignoring \'-heap <size>\' option.
按照楼上的把这个改了project-->build options-->advanced-->memory model-->large!以前是small!
改完之后有错误:
>> error: linking files for incompatible targets (file
\'C:\\\\CCStudio_v3.3\\\\MyProjects\\\\xunlian1\\\\Debug\\\\xunlian.obj\')
>> C:\\\\CCStudio_v3.3\\\\MyProjects\\\\xunlian1\\\\Debug\\\\xunlian.obj: error:
C:\\\\CCStudio_v3.3\\\\MyProjects\\\\xunlian1\\\\Debug\\\\xunlian.obj is
large model, but boot.obj
(C:/CCStudio_v3.3/C5500/cgtools/lib/rts55.lib) is small model
哪位给我指点一下我用的是5510的软仿,库是rts55.lib,ccs3.3的编译环境
详情回复
发表于 2009-9-1 02:47
改完之后有错误:
>> error: linking files for incompatible targets (file
\'C:\\\\CCStudio_v3.3\\\\MyProjects\\\\xunlian1\\\\Debug\\\\xunlian.obj\')
>> C:\\\\CCStudio_v3.3\\\\MyProjects\\\\xunlian1\\\\Debug\\\\xunlian.obj: error:
C:\\\\CCStudio_v3.3\\\\MyProjects\\\\xunlian1\\\\Debug\\\\xunlian.obj is
large model, but boot.obj
(C:/CCStudio_v3.3/C5500/cgtools/lib/rts55.lib) is small model
哪位给我指点一下我用的是5510的软仿,库是rts55.lib,ccs3.3的编译环境