mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-10 03:53:21 +02:00
Relaxed condition on matching of extern "C" functions.
This commit is contained in:
parent
cb89037f22
commit
6791f19c41
1 changed files with 2 additions and 1 deletions
|
@ -246,7 +246,8 @@ public class ASTManager implements IDisposable {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
isStatic= c1.isStatic() || c2.isStatic();
|
isStatic= c1.isStatic() || c2.isStatic();
|
||||||
if (!(b1 instanceof ICPPFunction) && !(b2 instanceof ICPPFunction)) {
|
if ((!(b1 instanceof ICPPFunction) || ((ICPPFunction) b1).isExternC()) &&
|
||||||
|
(!(b2 instanceof ICPPFunction) || ((ICPPFunction) b2).isExternC())) {
|
||||||
checkSig= false;
|
checkSig= false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue