not sure issue but struct related

All bugs related to new C backend
kinglestat
Enthusiast
Enthusiast
Posts: 747
Joined: Fri Jul 14, 2006 8:53 pm
Location: Malta
Contact:

not sure issue but struct related

Post by kinglestat »

Error: Assembler
error: invalid type argument of '->' (have 'c2vmXs_stvt' {aka 'struct c2vmXs_stvt'})
40530 | SYS_AllocateString4(&((c2vmXs_stvt*)c2vmXa_gvar.a)[(integer)((c2vmXs_stvt*)c2vmXa_gevalstack.a)[(integer)(c2vmXg_sp+1)].f_ptr]->f_ss,SYS_PopStringBasePosition());

this is a nested structure

any ideas?
I may not help with your coding
Just ask about mental issues!

http://www.lulu.com/spotlight/kingwolf
http://www.sen3.net
Fred
Administrator
Administrator
Posts: 18413
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: not sure issue but struct related

Post by Fred »

Try to compile with --commented flag to have the purebasic.c file and see which line triggers this error
Post Reply