◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── Compiler warning (level 1) C4090 'operation' : different const or volatile qualifiers The given operation was performed on a variable that was defined as being const or volatile. As a result, the const or volatile item could be modified without being detected by the compiler. This warning often occurs when a pointer to an item declared as const or volatile is assigned to a pointer that was not declared as pointing to either of these type modifiers. The expression was compiled without modification. The following example generates this warning: const char *p = "abcde"; int str( char *s ); str( p ); -♦-