windows x64
I'm getting an error "Structure already declared in resident file" for a structure in a module, shouldn't structures be Prefixed by the module name?
Structure already declared in resident file 6.20b2
Re: Structure already declared in resident file 6.20b2
have you made some userlibs with the external tool from this forum that creates userlibs AND residents ?
Maybe you forget to delete the residents ... These residents are absolut global !
Maybe you forget to delete the residents ... These residents are absolut global !
Re: Structure already declared in resident file 6.20b2
No not one I added, it does it with 6.03 as well. I normally prefix structures but his was an older code in a module, just thought it was weirdBisonte wrote: Tue Jan 14, 2025 7:51 am have you made some userlibs with the external tool from this forum that creates userlibs AND residents ?
Maybe you forget to delete the residents ... These residents are absolut global !
Re: Structure already declared in resident file 6.20b2
From time to time, purebasic also adds missing api structures.
Maybe it's one that has now been added.
Maybe it's one that has now been added.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: Structure already declared in resident file 6.20b2
I'm sure it's been like that for ages but it's totally illogical I Declare a module foo and decade a structure bar to that module I expect it to be foo_bar not bar so it conflicts with an existing structure.

