Compiler version in targets section is incorrect

Just starting out? Need help? Post your questions and find answers here.
User avatar
kpeters58
Enthusiast
Enthusiast
Posts: 341
Joined: Tue Nov 22, 2011 5:11 pm
Location: Kelowna, BC, Canada

Compiler version in targets section is incorrect

Post by kpeters58 »

I just opened the PBP file of one of my projects with a plain text editor and see:

<section name="targets">
...
<compiler version="PureBasic 5.61 (Windows - x64)"/>


I have upgraded to 5.62 as soon as it was released. I have tried in vain to figure out what drives this setting - nowhere in any options do I have a reference left to 5.61.

Can someone please shed some light on this?

Thanks much!
PB 5.73 on Windows 10 & OS X High Sierra
bytecave
User
User
Posts: 40
Joined: Mon Aug 13, 2012 7:26 am

Re: Compiler version in targets section is incorrect

Post by bytecave »

I acknowledge that you said "nowhere in options" do you have a reference to the compiler, but... just to be sure... check under Compiler->Compiler Options and make sure you don't have the "Use Compiler" checkbox checked. That specifies a particular compiler to use. Again, apologies if you already checked, just wanted to make sure. :)
User avatar
Josh
Addict
Addict
Posts: 1183
Joined: Sat Feb 13, 2010 3:45 pm

Re: Compiler version in targets section is incorrect

Post by Josh »

The compiler in the target of your pbp file is only written if you have chosen a different compiler than the default one in CompilerOptions/CompilerTargets.

I think the pbp file will only be updated when you close the project.
sorry for my bad english
User avatar
kpeters58
Enthusiast
Enthusiast
Posts: 341
Joined: Tue Nov 22, 2011 5:11 pm
Location: Kelowna, BC, Canada

Re: Compiler version in targets section is incorrect

Post by kpeters58 »

Hmm - I somehow managed to get it to lose the compiler line.
Possibly by unchecking/re-checking the compiler checkbox and saving in between?

Still would have expected a warning/error message while the wrong compiler was listed...

I guess I will just ignore this one then.....
PB 5.73 on Windows 10 & OS X High Sierra
Post Reply