The behaviour you mention is true for any global change in compiler
directives or conditional defines, so doing a build all is required in
those cases.
Cheers,
Carl Reynolds Ph: +64-9-4154790
CJN Technologies Ltd. Fax: +64-9-4154791
[EMAIL PROTECTED] DDI: +64-9-4154795
PO Box 302-278, North Harbour, Auckland, New Zealand
12 Piermark Drive, North Harbour Estate, Auckland, NZ
Visit our website at http://www.cjntech.co.nz/
> -----Original Message-----
> From: Max Nilson [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, September 14, 1999 10:58 AM
> To: Multiple recipients of list delphi
> Subject: RE: [DUG]: Who knows the magic word?
>
> I have created a class hierarchy based on TInterfacedObject with the
> RTTI
> turned on. All working perfectly, but during the process I found that
> there is a catch to the process creating $M+ enabled classes. That is
> that
> the compiler doesn't notice the $M+ directive being added and flag the
> unit interface as changed. So any dependant units don't get compiled
> and
> the RTTI information expected in them is extremely messed up.
>
> The best thing I found was to do a complete project build after
> fiddling
> with the RTTI generation and than everything would work cleanly after
> that.
>
> Cheers, Max.
>
> ----------------------------------------------------------------------
> -----
> New Zealand Delphi Users group - Delphi List -
> [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
application/ms-tnef