写宏遇到的问题:warning: backslash and newline separated by space - C
来源:互联网 发布:神曲 知乎 编辑:程序博客网 时间:2024/05/04 10:30
原来是因为\ 后面多了一个空格
附上一个刚刚写得调试用的例子:
- #define desay_debug(_string,myValue) \
- do{\
- c_snprintf(desay_info, \
- 250 - 1, \
- "\ndesay: File: %s Line#: %d Func: %s()\n !!!:message is %s value is %d\n", \
- __FILE__, \
- __LINE__, \
- __func__, \
- _string, \
- myValue); \
- desayEvent.ui4_msg_id=DESAY_MESSAGE_ID;\
- desayEvent.ui4_data1=(UINT32)&desay_info[0];\
- a_am_get_app_handle_from_name(&h_app_desay,"homepage");\
- c_app_send_msg(h_app_desay,0,&desayEvent,sizeof(DESAY_MSG_T),NULL,NULL);\
- }while(0)
0 0
- 写宏遇到的问题:warning: backslash and newline separated by space - C
- 写宏遇到的问题:warning: backslash and newline separated by space - C
- 写宏遇到的问题:warning: backslash and newline separated by space - C
- 写宏遇到的问题:warning: backslash and newline separated by space - C
- 写宏遇到的问题:warning: backslash and newline separated by space
- warning: backslash and newline separated by space
- warning: backslash and newline separated by space
- warning: format ‘%s’ expects argument of type ‘char *’和warning: backslash and newline separated by
- backslash-newline at end of file
- C规范里的趣闻Warning: no newline at end of file
- C warning“comparison between pointer and integer [enabled by default]”
- C-free提示warning: no newline at end of file
- 用C++Builder写C/S遇到的问题
- Space Shooter项目中遇到的问题
- (报错)backslash-newline at end of file
- c写的 ffplay 遇到的问题记录
- warning: no newline at end of file的原因
- gcc warning: no newline at end of file的原因
- C语言实现itoa
- 手机软件测试如何使用adb命令抓取手机Log
- 元对象系统(The Meta-Object System)
- OpenCV_局部图像特征的提取与匹配_源代码
- Qt signal 机制
- 写宏遇到的问题:warning: backslash and newline separated by space - C
- PHP会话(Session)实现用户登陆功能
- java中解析日期SimpleDateFormat失败后如何处理呢
- spring scope
- opencv图像基本操作算法
- ios项目(三)
- PHP会话(Session)实现用户登陆功能
- Linux命令之ifconfig - 网络配置命令
- stm32-led-串口-PWM