Hello!
I've got a main file that contains several include files (XIncludeFile). I set the main file to Threadsafe, XP-Skin, etc. and I enabled a subsystem named "UserLibThreadsafe" from gnozal to make his libs working. When I want to compile my whole project from an includefile, an error occurs: "POLINK error, unresolved external symbol: PB_StringBasePosition". I enabled the compiler option called "main source code" to advise the IDE to compile the main file insetad of the include file. Everything was working fine until I enabled ThreadSafe+Lib Subsystem in the main file.
Fix this error. Thx!
Compiler options not noticed when compiling from includes...
Compiler options not noticed when compiling from includes...
PB 4.30
Code: Select all
onErrorGoto(?Fred)
any includefiles can have it's own properties, this is a feature, nothing to fix 

PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

But why is every other field disabled when having "main source code:" activated?
The IDE does not grant you the chance to set the same options as the main file, because the include takes the same options as the main file.
If the field would not be disabled during "main source code"-activation, I would set the options manually.
So it's a bug.
The IDE does not grant you the chance to set the same options as the main file, because the include takes the same options as the main file.
If the field would not be disabled during "main source code"-activation, I would set the options manually.
So it's a bug.
PB 4.30
Code: Select all
onErrorGoto(?Fred)
sry, i have never used the mainsource option.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Okay, I'm awaiting the PB-Team's answer!
@ TS-Soft: Not schlimm

@ TS-Soft: Not schlimm

PB 4.30
Code: Select all
onErrorGoto(?Fred)