On 11/28/2012 13:55, Tomas Hajny wrote:
On Wed, November 28, 2012 19:39, Jonas Maebe wrote:
Changing defines does not cause recompilation of units because e.g. the
defines required to compile the FPC RTL or packages are completely
unrelated to any defines that may or may not be required for compiling
your program. In general, requiring you to specify all defines used for
every unit you use in a program would result in an unmaintainable
situation.

Additionally, there are some practical difficulties with adding hints for
indicating such situations, see
http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/compiler/fppu.pas?annotate=22452#l659

In other words - it is normal, but you can solve it without manually
deleting the created *.o and *.ppu files by using the -B parameter (which
asks fpc to rebuild all units for which it has sources with the new
command line parameters including conditional defines provided on the
command line).

ahhh... i see a script coming like i use with my TP/BP stuff when i compile from the command line... thanks to both of you for the answer...

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to