|ARM Technical Support Knowledge Articles|
Applies to: RealView C Compiler
Information in this article applies to:
After placing a custom include file into the system include directory, default is: C:\Keil\ARM\RV31\INC, no warning message is generated for this file, even though #pragma warning has been used. Also, --diag_error has no effect. Why are no warnings printed?
Warnings are suppressed for all include files located in directories that are specified by "-Jdir[,dir,...]", which is the case for the system include directory, even though --diag_error is used.
Do not add custom include files to the system include directory. Such files should be added to a separate include directory, which can be added to the include path by specifying "-Idir[,dir,...]" or via Options for Target C/C++ Include Paths.
Request the files attached to this knowledgebase article.
Article last edited on: 2012-09-11 06:44:47
Did you find this article helpful? Yes No
How can we improve this article?