30 Apr
2009
30 Apr
'09
5:35 p.m.
Hi all, Is there a gpc directive that can issue a message and then abort the compilation? I tried {$M ...} but it does not stop the compilation process. My goal is to prohibit the use of FillChar() in our code by stopping the compilation when the compiler finds one. I used a macro that redefines FillChar(a,b,c); as {$M ERROR: Fillchar use is not allowed!} but this does not seem sufficient to prevent its usage and its destructive effect on strings :-( If there is no such compiler directive, any other suggestion is welcome. Regards Pascal Viandier
6313
Age (days ago)
6313
Last active (days ago)
2 comments
2 participants
participants (2)
-
Frank Heckenbach -
Pascal Viandier