mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 09:25:31 +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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue