[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
soloBitCheck parameter problem
From: |
Angus Comber |
Subject: |
soloBitCheck parameter problem |
Date: |
Fri, 29 Dec 2006 09:57:50 -0000 |
Hello
I have compiled ASN.1 spec for CSTA II on Windows using SNACC 1.6.
The generated cpp functions use a soloBitCheck function which seems to get
created like this:
if ( NOT_NULL(voiceUnit) && (! voiceUnit->soloBitCheck(VoiceUnitFilter::)) )
// *** offending line
{
l = voiceUnit->BEncContent (b);
l += BEncDefLen (b, l);
l += BEncTag1 (b, CNTX, PRIM, 5);
totalLen += l;
}
This is an example in AsnLen MonitorFilter::BEncContent (AsnBuf &b) const
The line with soloBitCheck does not compile. Get errors:
csta2less.cpp(3165) : error C2589: ')' : illegal token on right side of '::'
csta2less.cpp(3165) : error C2143: syntax error : missing ')' before '::'
csta2less.cpp(3165) : error C2660: 'soloBitCheck' : function does not take 0
parameters
csta2less.cpp(3165) : error C2059: syntax error : ')'
Something is missing?
How do I edit the code? Should it be sizeof(VoiceUnitFilter) ?
How can I fix?
Angus
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- soloBitCheck parameter problem,
Angus Comber <=