----------------------------------------------------------------------
Debug build of project `E:\1\CROWCON8000 PIC18F4523\CROWCON8000 PIC18F4523\crowcon8008.mcp' started.
Language tool versions: mplink.exe v4.38, mplink.exe v4.38, mcc18.exe v3.37.01, mplib.exe v4.38
Preprocessor symbol `__DEBUG' is defined.
Target debug platform is `__MPLAB_DEBUGGER_ICD3=1'.
Debug platform options are: `__ICD2RAM=1'.
Tue Nov 08 10:44:43 2011
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean Warning: File "D:\CROWCON8000 PIC18F4523\CROWCON8000 PIC18F4523\maxver2.0.o" doesn't exist.
Clean Warning: File "D:\CROWCON8000 PIC18F4523\CROWCON8000 PIC18F4523\crowcon8008.cof" doesn't exist.
Clean Warning: File "D:\CROWCON8000 PIC18F4523\CROWCON8000 PIC18F4523\crowcon8008.hex" doesn't exist.
Clean: Deleted file "E:\1\CROWCON8000 PIC18F4523\CROWCON8000 PIC18F4523\crowcon8008.mcs".
Clean: Done.
Executing: "E:\mcc18\bin\mcc18.exe" -p=18F45K22 "maxver2.0.c" -fo="maxver2.0.o" -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
E:\1\CROWCON8000 PIC18F4523\CROWCON8000 PIC18F4523\maxver2.0.c:1697:Warning [2054] suspicious pointer conversion
E:\1\CROWCON8000 PIC18F4523\CROWCON8000 PIC18F4523\maxver2.0.c:1700:Warning [2054] suspicious pointer conversion
E:\1\CROWCON8000 PIC18F4523\CROWCON8000 PIC18F4523\maxver2.0.c:1703:Warning [2054] suspicious pointer conversion
E:\1\CROWCON8000 PIC18F4523\CROWCON8000 PIC18F4523\maxver2.0.c:1706:Warning [2054] suspicious pointer conversion
E:\1\CROWCON8000 PIC18F4523\CROWCON8000 PIC18F4523\maxver2.0.c:1709:Warning [2054] suspicious pointer conversion
E:\1\CROWCON8000 PIC18F4523\CROWCON8000 PIC18F4523\maxver2.0.c:1712:Warning [2054] suspicious pointer conversion
E:\1\CROWCON8000 PIC18F4523\CROWCON8000 PIC18F4523\maxver2.0.c:1715:Warning [2054] suspicious pointer conversion
E:\1\CROWCON8000 PIC18F4523\CROWCON8000 PIC18F4523\maxver2.0.c:1718:Warning [2054] suspicious pointer conversion
E:\1\CROWCON8000 PIC18F4523\CROWCON8000 PIC18F4523\maxver2.0.c:1721:Warning [2054] suspicious pointer conversion
E:\1\CROWCON8000 PIC18F4523\CROWCON8000 PIC18F4523\maxver2.0.c:1724:Warning [2054] suspicious pointer conversion
E:\1\CROWCON8000 PIC18F4523\CROWCON8000 PIC18F4523\maxver2.0.c:1727:Warning [2054] suspicious pointer conversion
E:\1\CROWCON8000 PIC18F4523\CROWCON8000 PIC18F4523\maxver2.0.c:1730:Warning [2054] suspicious pointer conversion
Executing: "E:\mcc18\bin\mplink.exe" /p18F45K22 /l"C:\mcc18\lib" "maxver2.0.o" /u_CRUNTIME /u_DEBUG /u_DEBUGCODESTART=0x7dc0 /u_DEBUGCODELEN=0x240 /u_DEBUGDATASTART=0x5f6 /u_DEBUGDATALEN=0xa /z__MPLAB_BUILD=1 /z__MPLAB_DEBUG=1 /z__MPLAB_DEBUGGER_ICD3=1 /z__ICD2RAM=1 /o"crowcon8008.cof" /M"crowcon8008.map" /W
MPLINK 4.38, Linker
Copyright (c) 1998-2010 Microchip Technology Inc.
Errors : 0
MP2HEX 4.38, COFF to HEX File Converter
Copyright (c) 1998-2010 Microchip Technology Inc.
Errors : 0
Loaded E:\1\CROWCON8000 PIC18F4523\CROWCON8000 PIC18F4523\crowcon8008.cof.
----------------------------------------------------------------------
Debug build of project `E:\1\CROWCON8000 PIC18F4523\CROWCON8000 PIC18F4523\crowcon8008.mcp' succeeded.
Language tool versions: mplink.exe v4.38, mplink.exe v4.38, mcc18.exe v3.37.01, mplib.exe v4.38
Preprocessor symbol `__DEBUG' is defined.
Target debug platform is `__MPLAB_DEBUGGER_ICD3=1'.
Debug platform options are: `__ICD2RAM=1'.
Tue Nov 08 10:44:51 2011
----------------------------------------------------------------------
BUILD SUCCEEDED
const ram char Disp[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71,
//0 1 2 3 4 5 6 7 8 9 A b C d E F
0x76,0x38,0x40,0x3e,0x5c,0x31,0x70,0x08,0xce,0x08,0x08,0x40,0x80};
// H L - U o T r _ 18 19 20 21 22
const ram char Dis_M[]={0xe,0x12,0x13,0x0f};//E-U
display_measure(&Dis_M);
void display_measure(unsigned char *Dis_String)
{
unsigned char temp,i,j=0x10,code;
for(i=0;i<4;i++)
{
Led_code[i]=Dis_String[i];
}
}
这种定义数组指针怎么会出现警告,有什么严重后果吗? |
|