mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 18:25:58 +02:00
* make near and far procedures/procvars incompatible with each other
git-svn-id: trunk@38645 -
This commit is contained in:
parent
0b66419e8b
commit
85ca504f4a
@ -2329,7 +2329,7 @@ implementation
|
|||||||
if checkincompatibleuniv then
|
if checkincompatibleuniv then
|
||||||
include(pa_comp,cpo_warn_incompatible_univ);
|
include(pa_comp,cpo_warn_incompatible_univ);
|
||||||
{ check return value and options, methodpointer is already checked }
|
{ check return value and options, methodpointer is already checked }
|
||||||
po_comp:=[po_interrupt,po_iocheck,po_varargs];
|
po_comp:=[po_interrupt,po_iocheck,po_varargs,po_far];
|
||||||
{ check static only if we compare method pointers }
|
{ check static only if we compare method pointers }
|
||||||
if def1.is_methodpointer and def2.is_methodpointer then
|
if def1.is_methodpointer and def2.is_methodpointer then
|
||||||
include(po_comp,po_staticmethod);
|
include(po_comp,po_staticmethod);
|
||||||
|
Loading…
Reference in New Issue
Block a user