Raised This Month: $51 Target: $400
 12% 

[COMPILER] "Allready compiled", even if a include file changed


  
 
 
Thread Tools Display Modes
Author Message
Obbin
Senior Member
Join Date: Mar 2005
Location: 192.168.1.3
Old 09-02-2006 , 15:57   [COMPILER] "Allready compiled", even if a include file changed
#1

The compiler says "Allready compiled" even if a include file included by the script changed.
I don't know wether this is a real bug or not but it's really annoying since I am having parts of my script inside an include.

Thanks!
__________________
Sig(h)!

Last edited by Obbin; 09-02-2006 at 16:17. Reason: typo
Obbin is offline
MaximusBrood
Veteran Member
Join Date: Sep 2005
Location: The Netherlands
Old 09-02-2006 , 18:02   Re: [COMPILER] "Allready compiled", even if a include file changed
#2

This is a bug, but it is difficult to know if an include file changed since the checks for "already compiled" are done before even the precompiler knocks in.
(I don't know this for sure, I never have seen a compiler source, but it wouldn't make sense to load the precompiler if you already know you aren't going to use it)

Workarounds:

1. Delete compile.dat
2. Resave your main .sma file so it recieves a fresh timestamp
__________________
Released six formerly private plugins. Not active here since ages.
MaximusBrood is offline
teame06
i have a hat
Join Date: Feb 2005
Location: Hat City
Old 09-02-2006 , 18:06   Re: [COMPILER] "Allready compiled", even if a include file changed
#3

3. Delete the compiled folder or plugin in compiled folder
__________________
No private support via Instant Message
GunGame:SM Released
teame06 is offline
Send a message via AIM to teame06
BAILOPAN
Join Date: Jan 2004
Old 09-02-2006 , 20:57   Re: [COMPILER] "Allready compiled", even if a include file changed
#4

This won't be fixed unfortunately. if you change includes just erase compile.dat. on linux you can 'touch' the file.
__________________
egg
BAILOPAN is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:01.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode