How to solve “extra qualification” compiler error of symbian 5th SDK

H

Error:extra qualification ‘CAknVolumeControl::’ on member ‘ScaledValue’
Solution:
This problem is caused by CAknVolumeControl which is a part of the underlying Symbian SDK. The additional qualifier used on the ScaledValue() function does not compile with the GCCE compiler. This error should be reported to the Symbian Foundation so that they can change it in S60.

In the meantime, I believe you could just edit the header file locally to get you application to compile. Just open the aknvolumecontrol.h file and replace this line:-
TInt CAknVolumeControl::ScaledValue() const;

With this one:-
TInt ScaledValue() const;
That should be enough to get your application compiling.

About the author

pallavi.jadhav
By pallavi.jadhav

Category