Forum Replies Created
-
AuthorPosts
-
igorfrancoParticipant
Hello,
I’m porting Z80 code made in C99 to ARM platform, I changed my compiler directive according you suggested, but unfortunately I’m still facing compiler problems like below:
I do appreciate if some bright soul could help me in this issue.
Severity Code Description Project File Line Suppression State
Error cannot convert ‘unsigned char (*)[17]’ to ‘char*’ for argument ‘1’ to ‘void lcd_str(char*)’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\DIAG.C 325
Error cannot convert ‘unsigned char (*)[17]’ to ‘char*’ for argument ‘1’ to ‘void lcd_str(char*)’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\DIAG.C 383
Error cannot convert ‘unsigned char (*)[17]’ to ‘char*’ for argument ‘1’ to ‘void lcd_str(char*)’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\DIAG.C 489
Error cannot convert ‘unsigned int*’ to ‘char*’ for argument ‘1’ to ‘void bput_str(char*, char, char, char*)’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\DIAG.C 700
Error cannot convert ‘unsigned int*’ to ‘char*’ for argument ‘1’ to ‘void bput_str(char*, char, char, char*)’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\DIAG.C 761
Error cannot convert ‘unsigned int*’ to ‘char*’ for argument ‘1’ to ‘void bput_str(char*, char, char, char*)’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\DIAG.C 765
Error cannot convert ‘unsigned int*’ to ‘char*’ for argument ‘1’ to ‘void bput_str(char*, char, char, char*)’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\DIAG.C 774
Error cannot convert ‘unsigned int*’ to ‘char*’ for argument ‘1’ to ‘void bput_str(char*, char, char, char*)’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\DIAG.C 778
Error cannot convert ‘unsigned int*’ to ‘char*’ for argument ‘1’ to ‘void bput_str(char*, char, char, char*)’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\DIAG.C 785
Error cannot convert ‘unsigned int*’ to ‘char*’ for argument ‘1’ to ‘void bput_str(char*, char, char, char*)’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\DIAG.C 789
Error cannot convert ‘unsigned int*’ to ‘char*’ for argument ‘1’ to ‘void bput_str(char*, char, char, char*)’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\DIAG.C 796
Error cannot convert ‘unsigned int*’ to ‘char*’ for argument ‘1’ to ‘void bput_str(char*, char, char, char*)’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\DIAG.C 800
Error cannot convert ‘unsigned int*’ to ‘char*’ for argument ‘1’ to ‘void bput_str(char*, char, char, char*)’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\DIAG.C 806
Error cannot convert ‘unsigned int*’ to ‘char*’ for argument ‘1’ to ‘void bput_str(char*, char, char, char*)’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\DIAG.C 810
Error cannot convert ‘unsigned int*’ to ‘const char*’ for argument ‘2’ to ‘char* strcpy(char*, const char*)’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\ESTEIRA.C 2270
Error cannot convert ‘unsigned int*’ to ‘const char*’ for argument ‘2’ to ‘char* strcpy(char*, const char*)’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\ESTEIRA.C 2271
Error cannot convert ‘unsigned int*’ to ‘char*’ for argument ‘1’ to ‘void get_clas(char*)’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\ESTEIRA.C 2715
Error cannot convert ‘unsigned int*’ to ‘char*’ for argument ‘1’ to ‘void get_clas(char*)’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\ESTEIRA.C 2728
Error aggregate ‘typ_peles peles_temp1’ has incomplete type and cannot be defined MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\ESTEIRA.C 2754
Error aggregate ‘typ_peles peles_temp2’ has incomplete type and cannot be defined MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\ESTEIRA.C 2755
Error invalid use of incomplete type ‘struct typ_medida’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\ESTEIRA.C 2763
Error cannot convert ‘typ_nvr::typ_peles*’ to ‘typ_peles*’ for argument ‘1’ to ‘void get_medida(typ_peles*, int)’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\ESTEIRA.C 2775
Error cannot convert ‘typ_nvr::typ_peles*’ to ‘typ_peles*’ for argument ‘1’ to ‘void put_medida(typ_peles*, int)’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\ESTEIRA.C 2778
Error invalid use of incomplete type ‘struct typ_medida’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\ESTEIRA.C 2810
Error invalid use of incomplete type ‘struct typ_medida’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\ESTEIRA.C 2811
Error invalid use of incomplete type ‘struct typ_medida’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\ESTEIRA.C 2813
Error invalid use of incomplete type ‘struct typ_medida’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\ESTEIRA.C 2814
Error invalid use of incomplete type ‘struct typ_medida’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\ESTEIRA.C 2815
Error invalid use of incomplete type ‘struct typ_medida’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\ESTEIRA.C 2816
Error invalid use of incomplete type ‘struct typ_medida’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\ESTEIRA.C 2817
Error invalid use of incomplete type ‘struct typ_medida’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\ESTEIRA.C 2819
Error cannot convert ‘typ_nvr::typ_peles*’ to ‘typ_peles*’ for argument ‘1’ to ‘void put_medida(typ_peles*, int)’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\ESTEIRA.C 2840
Error invalid use of incomplete type ‘struct typ_medida’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\ESTEIRA.C 2843
Error invalid use of incomplete type ‘struct typ_medida’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\ESTEIRA.C 2856
Error invalid use of incomplete type ‘struct typ_medida’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\ESTEIRA.C 2859
Error cannot convert ‘typ_nvr::typ_peles*’ to ‘typ_peles*’ for argument ‘1’ to ‘void get_medida(typ_peles*, int)’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\ESTEIRA.C 2903
Error cannot convert ‘typ_nvr::typ_peles*’ to ‘typ_peles*’ for argument ‘1’ to ‘void put_medida(typ_peles*, int)’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\ESTEIRA.C 2932
Error cannot convert ‘typ_nvr::typ_peles*’ to ‘typ_peles*’ for argument ‘1’ to ‘void get_medida(typ_peles*, int)’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\ESTEIRA.C 2968
Error cannot convert ‘typ_nvr::typ_peles*’ to ‘typ_peles*’ for argument ‘1’ to ‘void get_medida(typ_peles*, int)’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\ESTEIRA.C 2982
Error cannot convert ‘typ_nvr::typ_peles*’ to ‘typ_peles*’ for argument ‘1’ to ‘void put_medida(typ_peles*, int)’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\ESTEIRA.C 2999
Error cannot convert ‘typ_nvr::typ_peles*’ to ‘typ_peles*’ for argument ‘1’ to ‘void get_medida(typ_peles*, int)’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\ESTEIRA.C 3067
Error cannot convert ‘typ_nvr::typ_peles*’ to ‘typ_peles*’ for argument ‘1’ to ‘void put_medida(typ_peles*, int)’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\ESTEIRA.C 3078
Error no match for ‘operator=’ (operand types are ‘typ_nvr::typ_peles’ and ‘typ_peles’) MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\ESTEIRA.C 3142
Error cannot convert ‘typ_nvr::typ_peles*’ to ‘typ_peles*’ for argument ‘1’ to ‘void put_medida(typ_peles*, int)’ MD_SORT_ARM_2015_C H:\Firmware\MD_SORT\4.09a\InitialSource\ESTEIRA.C 3164February 18, 2016 at 12:58 in reply to: Building STemWin_HelloWorld on STM32F7 Discovery board #7670igorfrancoParticipantThanks… I missed “I used newlib-nano, hardware floating point”.
February 18, 2016 at 12:08 in reply to: Building STemWin_HelloWorld on STM32F7 Discovery board #7668igorfrancoParticipantHello Folks,
I changed my code according you defined, but when compile unfortunatelly I’m receiving :
Error 73 error : C:\ARMTC\STM32Cube_FW_F7_V1.3.0\Middlewares\ST\STemWin\Lib\STemWin528_CM7_GCC.a(WM_NotifyParent.o) uses VFP register arguments, Debug/BlinkLED.elf does not c:\sysgcc\arm-eabi\arm-eabi\bin\ld.exe 1 1 BlinkLED
Could you help me how to figure out this issue?
-
AuthorPosts