X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=warning.h;h=dcd2bd9c75a9467ff67762b7170c40f370c47288;hb=c080804a9ae61e4ba0ec6fc7288c81c326fa9ddb;hp=5aede2086715daa58b55ce9d8b7fdc4225fedaee;hpb=a382514b48c5bd1c137112e9ad72a2be311f9bb8;p=cparser diff --git a/warning.h b/warning.h index 5aede20..dcd2bd9 100644 --- a/warning.h +++ b/warning.h @@ -94,6 +94,7 @@ typedef enum warning_t { WARN_SHADOW, /**< Warn whenever a local variable shadows another local variable, parameter or global variable or whenever a built-in function is shadowed */ WARN_SHADOW_LOCAL, WARN_SIGN_COMPARE, /**< Warn when a comparison between signed and unsigned values could produce an incorrect result when the signed value is converted to unsigned */ + WARN_STRAY_SEMICOLON, /**< Warn about stray semicolons outside of functions */ #if 0 // TODO WARN_STRICT_ALIASING, /**< Warn about code which might break the strict aliasing rules that the compiler is using for optimization. */ #endif