Page 1 of 1

[Solved] Error with C backend

Posted: Sat Mar 02, 2024 11:54 am
by BarryG
Hi, I'm slowly converting my app to compile with the C backend (now that the Date lib supports years up to 9999 - yay!), but now I'm getting this error when compiling, and I have no idea what it's referring to. Any ideas? I can't find any ASM code in my source or includes, so I'm stumped. Thanks.

Image

Re: Error with C backend

Posted: Sat Mar 02, 2024 11:57 am
by mk-soft
Please PB-Code to find it

Re: Error with C backend

Posted: Sat Mar 02, 2024 12:00 pm
by BarryG
Do you mean post my code? Impossible. Was hoping someone might recognize the error message and what it means.

Re: Error with C backend

Posted: Sat Mar 02, 2024 12:07 pm
by Fred
Search for 'ppublic' in all your source code it looks like an inline asm line. You can also compile with the --commented in commadline so you can see which PB line is causing it

Re: Error with C backend

Posted: Sat Mar 02, 2024 12:13 pm
by BarryG

Re: Error with C backend

Posted: Sat Mar 02, 2024 12:18 pm
by DarkDragon
BarryG wrote: Sat Mar 02, 2024 12:13 pm Found it! It was this -> https://www.purebasic.fr/english/viewto ... 53#p584753
I was about to post this here lol 😆. Well, the post already says it doesn't work with C backend.

Re: [Solved] Error with C backend

Posted: Sat Mar 02, 2024 12:39 pm
by BarryG
Yeah I know, I didn't see that I had that file included at first because it wasn't grouped with all my other includes. :lol: