warning: ISO C forbids an empty translation unit [-pedantic]
来源:互联网 发布:动物探测仪软件 编辑:程序博客网 时间:2024/06/07 05:21
root@Ubuntu32:/home/zhangbin/codeStore/testCODE/testMeServerRTSP/mework/meserver/meserver# make
gcc -pedantic -Wall -Wextra -march=native -ggdb3 -o testmeserver config.h
config.h:12:0: warning: ISO C forbids an empty translation unit [-pedantic]
ISO 认为这个config.h文件是空的。
这样的写法,会导致这个问题么??
#ifndef TEST_CONFIG_H
#define TEST_CONFIG_H
#endif
http://stackoverflow.com/questions/15907816/eclipse-fails-to-compile-c-project-when-using-a-flags
- warning: ISO C forbids an empty translation unit [-pedantic]
- warning: ISO C90 forbids mixed declaration
- 【C/C++】warning: ISO C++ forbids converting a string constant to 'char*'
- warning:ISO C90 forbids mixed declarations and code
- warning:ISO C90 forbids mixed declarations and code
- warning:ISO C90 forbids mixed declarations and code
- warning: ISO C90 forbids mixed declarations and code
- warning:ISO C90 forbids mixed declarations and code
- warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- warning C4996: 'swprintf': swprintf has been changed to conform with the ISO C standard, adding an e
- Translation unit v.s Compilation unit
- ISO C++forbids declaration of 'SystemSetDialog' with no type的问题解决
- Warning: Error creating LLDB target at path '...LearnCoreData.app'- using an empty LLDB target which
- ISO C90 forbids mixed declarations and code
- ISO C89 forbids mixed declarations and code
- ISO C89 forbids mixed declarations and code
- ISO C90 forbids mixed declarations and code
- Empty an Array
- linux内核源码阅读之facebook硬盘加速利器flashcache之初
- MapReduce调度与执行原理之任务调度
- 如何改变Visual Assist数据库文件路径(How do I change where VA stores its database?)
- Eclipse调试Java的10个技巧
- oracle小记之修改字符集解决中文乱码
- warning: ISO C forbids an empty translation unit [-pedantic]
- C/C++学习笔记(三)
- js 打印
- Highstock配置
- Boost库学习----timer
- CRtmpServer设置拉流
- [转]50个c/c++源代码网站
- android SensorManager简要分析
- wireshark 抓取本地回环数据包