Author Topic: slickedit doesn't detect changed #include files for slick c code  (Read 806 times)

Graeme

  • Senior Community Member
  • Posts: 2300
  • Hero Points: 302
The "load" command doesn't detect that a #include file has changed and won't recompile a slick c file if the #including file hasn't changed.  Maybe a warning could be given that no recompile was done.  e.g. If I change the definition of HI in test1.sh then load the code below, there's no change in the text string that appears.

Code: [Select]
#include "test1.sh"

_command void gptest() name_info(',')
{
   _message_box(HI);
}


So now I have force_load
Code: [Select]
_command void force_load() name_info(','VSARG2_REQUIRES_EDITORCTL|VSARG2_READ_ONLY)
{
   _save_file('+o');
   load();
}