zhouhuoyan的个人主页

http://bbs.ntpcb.com/u.php?uid=97051  [收藏] [复制]

zhouhuoyan

  • 15

    关注

  • 13

    粉丝

  • 118

    访客

  • 等级:二级逆天
  • 总积分:3313
  • 男,1988-07-24

最后登录:2024-03-27

更多资料

日志

汉字内码索引一直出警告!

2021-07-14 09:28
typedef struct _GB16                 // 汉字字模数据结构
{
       uchar Index[2];               // 汉字内码索引
       uchar Msk[32];                       // 点阵码数据
}GB16_Typedef;
const GB16_Typedef  GB_16x16[] =          // 数据表
{
"差",0x00,0x04,0x24,0x24,0x25,0x26,0xA4,0x7C,0x24,0x26,0x25,0x34,0x26,0x84,0x00,0x00,
      0x41,0x21,0x11,0x89,0x85,0x8B,0x89,0x89,0xF9,0x89,0x8D,0x89,0xC1,0x81,0x01,0x00,
}

用XC8编译时提示
warning: (228) illegal character (0xB2)
warning: (340) string not terminated by null character
第二条警告,将   uchar Index[2];    改为   uchar Index[3];    就会消失,怎么消除第一条警告
转载
分类:默认分类|回复:0|浏览:1047|全站可见|转载
 

Powered by phpwind v8.7.1 Certificate Copyright Time now is:03-29 10:25
©2003-2011 逆天PCB论坛 版权所有 Gzip disabled 粤ICP备14042835号 问题咨询 | 广告业务点这里