Code for few warning messages
Hi,
For the following compilation warning message I need to create some sample program in C for self study. Also I am looking for some good web link where all the C warnings are described.
1. Warning #47: incompatible redefinition of macro "entity" . Undefine macro before
2. Warning #167: argument of type “…” is incompatible with parameter of type “…”
3. Warning #175: subscript out of range
4. Warning #181: argument is incompatible with corresponding format string conversion
5. Warning #187: use of "=" where "==" may have been intended
6. Warning #268: the format string ends before this argument
7. Warning #269: invalid format string conversion
8. Warning #556: a value of type "type" cannot be assigned to an entity of type "type"
9. Warning #1899: multicharacter character literal (potential portability problem) :memset(buff,'ABC',sizeof(buff));
Thanks,
Amar
|