mirror of
https://github.com/vim/vim.git
synced 2025-07-24 10:45:12 -04:00
20 lines
375 B
C
20 lines
375 B
C
|
// C preprocessor - diagnostic directives
|
||
|
|
||
|
// Source: https://en.cppreference.com/w/c/preprocessor/error
|
||
|
|
||
|
#if __STDC__ != 1
|
||
|
# error "Not a standard compliant compiler"
|
||
|
#endif
|
||
|
|
||
|
#if __STDC_VERSION__ >= 202311L
|
||
|
# warning "Using #warning as a standard feature"
|
||
|
#endif
|
||
|
|
||
|
#include <stdio.h>
|
||
|
|
||
|
int main (void)
|
||
|
{
|
||
|
printf("The compiler used conforms to the ISO C Standard !!");
|
||
|
}
|
||
|
|