I want to suppress an error, such as 715, for C files, but not for C++ files.
-header(x.h) and then within the header file (x.h in this example):
#ifdef __cplusplus //lint +e715 #else //lint -e715 #endif -header(x.h) #ifdef __cplusplus //lint +e715 #else //lint -e715 #endif