Page 1 of 1

Compiler options not noticed when compiling from includes...

Posted: Sat Feb 10, 2007 7:32 pm
by AND51
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!

Posted: Sat Feb 10, 2007 7:50 pm
by ts-soft
any includefiles can have it's own properties, this is a feature, nothing to fix :wink:

Posted: Sat Feb 10, 2007 8:03 pm
by AND51
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.

Posted: Sat Feb 10, 2007 8:16 pm
by ts-soft
sry, i have never used the mainsource option.

Posted: Sat Feb 10, 2007 9:58 pm
by Trond
It shouldn't happen, but it happens once in a while. A similar problem is reported in the bugs forum.

Posted: Sat Feb 10, 2007 10:40 pm
by AND51
Okay, I'm awaiting the PB-Team's answer! :)

@ TS-Soft: Not schlimm :wink: