PC-lint for C/C++ (NT) Vers. 8.00x, Copyright Gimpel Software 1985-2008
--- Module: C:\Documents and Settings\Administrator\桌面\b.c (C)
system("pause");
C:\Documents and Settings\Administrator\桌面\b.c(64): error 534: (Warning -- Ignoring return value of function 'system(const char *)' (compare with line 316, file C:\VC6\VC98\Include\stdlib.h))
C:\VC6\VC98\Include\stdlib.h(316): error 830: (Info -- Location cited in prior message)
bmp_map_file.bfSize = 14 + 40 + width * height * 3;
C:\Documents and Settings\Administrator\桌面\b.c(69): error 732: (Info -- Loss of sign (assignment) (long to unsigned long))
bmp_map_info.biHeight = height;
C:\Documents and Settings\Administrator\桌面\b.c(78): error 732: (Info -- Loss of sign (assignment) (long to unsigned long))
bmp_map_info.biWidth = width;
C:\Documents and Settings\Administrator\桌面\b.c(79): error 732: (Info -- Loss of sign (assignment) (long to unsigned long))
bmp_map_info.biSizeImage = width*height*3;
C:\Documents and Settings\Administrator\桌面\b.c(83): error 732: (Info -- Loss of sign (assignment) (long to unsigned long))
if((bmp_data=(RGB*)malloc(width * height * 3)) == NULL)
C:\Documents and Settings\Administrator\桌面\b.c(90): error 732: (Info -- Loss of sign (arg. no. 1) (long to unsigned int))
fwrite(bmp_data, sizeof(RGB), date_size, bmp_file);
C:\Documents and Settings\Administrator\桌面\b.c(102): error 732: (Info -- Loss of sign (arg. no. 3) (long to unsigned int))
}
C:\Documents and Settings\Administrator\桌面\b.c(109): error 783: (Info -- Line does not end with new-line)
--- Wrap-up for Module: C:\Documents and Settings\Administrator\桌面\b.c
C:\Documents and Settings\Administrator\桌面\b.c(110): error 766: (Info -- Header file 'C:\VC6\VC98\Include\time.h' not used in module 'C:\Documents and Settings\Administrator\桌面\b.c')
C:\Documents and Settings\Administrator\桌面\b.c(110): error 766: (Info -- Header file 'C:\VC6\VC98\Include\malloc.h' not used in module 'C:\Documents and Settings\Administrator\桌面\b.c')
C:\Documents and Settings\Administrator\桌面\b.c(110): error 766: (Info -- Header file 'C:\VC6\VC98\Include\conio.h' not used in module 'C:\Documents and Settings\Administrator\桌面\b.c')
C:\Documents and Settings\Administrator\桌面\b.c(110): error 766: (Info -- Header file 'C:\VC6\VC98\Include\pshpack2.h' not used in module 'C:\Documents and Settings\Administrator\桌面\b.c')
C:\Documents and Settings\Administrator\桌面\b.c(110): error 766: (Info -- Header file 'C:\VC6\VC98\Include\poppack.h' not used in module 'C:\Documents and Settings\Administrator\桌面\b.c')
--- Global Wrap-up
error 900: (Note -- Successful completion, 14 messages produced)
工具返回代码: 14
--- Module: C:\Documents and Settings\Administrator\桌面\b.c (C)
system("pause");
C:\Documents and Settings\Administrator\桌面\b.c(64): error 534: (Warning -- Ignoring return value of function 'system(const char *)' (compare with line 316, file C:\VC6\VC98\Include\stdlib.h))
C:\VC6\VC98\Include\stdlib.h(316): error 830: (Info -- Location cited in prior message)
bmp_map_file.bfSize = 14 + 40 + width * height * 3;
C:\Documents and Settings\Administrator\桌面\b.c(69): error 732: (Info -- Loss of sign (assignment) (long to unsigned long))
bmp_map_info.biHeight = height;
C:\Documents and Settings\Administrator\桌面\b.c(78): error 732: (Info -- Loss of sign (assignment) (long to unsigned long))
bmp_map_info.biWidth = width;
C:\Documents and Settings\Administrator\桌面\b.c(79): error 732: (Info -- Loss of sign (assignment) (long to unsigned long))
bmp_map_info.biSizeImage = width*height*3;
C:\Documents and Settings\Administrator\桌面\b.c(83): error 732: (Info -- Loss of sign (assignment) (long to unsigned long))
if((bmp_data=(RGB*)malloc(width * height * 3)) == NULL)
C:\Documents and Settings\Administrator\桌面\b.c(90): error 732: (Info -- Loss of sign (arg. no. 1) (long to unsigned int))
fwrite(bmp_data, sizeof(RGB), date_size, bmp_file);
C:\Documents and Settings\Administrator\桌面\b.c(102): error 732: (Info -- Loss of sign (arg. no. 3) (long to unsigned int))
}
C:\Documents and Settings\Administrator\桌面\b.c(109): error 783: (Info -- Line does not end with new-line)
--- Wrap-up for Module: C:\Documents and Settings\Administrator\桌面\b.c
C:\Documents and Settings\Administrator\桌面\b.c(110): error 766: (Info -- Header file 'C:\VC6\VC98\Include\time.h' not used in module 'C:\Documents and Settings\Administrator\桌面\b.c')
C:\Documents and Settings\Administrator\桌面\b.c(110): error 766: (Info -- Header file 'C:\VC6\VC98\Include\malloc.h' not used in module 'C:\Documents and Settings\Administrator\桌面\b.c')
C:\Documents and Settings\Administrator\桌面\b.c(110): error 766: (Info -- Header file 'C:\VC6\VC98\Include\conio.h' not used in module 'C:\Documents and Settings\Administrator\桌面\b.c')
C:\Documents and Settings\Administrator\桌面\b.c(110): error 766: (Info -- Header file 'C:\VC6\VC98\Include\pshpack2.h' not used in module 'C:\Documents and Settings\Administrator\桌面\b.c')
C:\Documents and Settings\Administrator\桌面\b.c(110): error 766: (Info -- Header file 'C:\VC6\VC98\Include\poppack.h' not used in module 'C:\Documents and Settings\Administrator\桌面\b.c')
--- Global Wrap-up
error 900: (Note -- Successful completion, 14 messages produced)
工具返回代码: 14
我就是真命天子,顺我者生,逆我者死!