gcc 4.7+ compiler warnings removed

This commit is contained in:
Matej Sekoranja
2013-02-27 11:44:00 +01:00
parent 4122e772c1
commit cd95b75563
3 changed files with 6 additions and 5 deletions

View File

@@ -17,8 +17,9 @@
# EPICS V4 Developers: Do not edit the locations in this file!
#
# Create a file RELEASE.local pointing to your EPICS_BASE
# build directory, e.g.
# and PVCOMMON build directories, e.g.
# EPICS_BASE = /home/install/epics/base
# PVCOMMON = /home/install/epicsV4/pvCommonCPP
-include $(TOP)/configure/RELEASE.local
-include $(TOP)/../RELEASE.local

View File

@@ -94,7 +94,7 @@ String Scalar::getID() const
return idScalarLUT[scalarType];
}
const int8 Scalar::getTypeCodeLUT() const
int8 Scalar::getTypeCodeLUT() const
{
static const int8 typeCodeLUT[] = {
0x00, // pvBoolean
@@ -170,7 +170,7 @@ ScalarArray::ScalarArray(ScalarType elementType)
ScalarArray::~ScalarArray() {}
const int8 ScalarArray::getTypeCodeLUT() const
int8 ScalarArray::getTypeCodeLUT() const
{
static const int8 typeCodeLUT[] = {
0x00, // pvBoolean

View File

@@ -283,7 +283,7 @@ public:
protected:
Scalar(ScalarType scalarType);
private:
const int8 getTypeCodeLUT() const;
int8 getTypeCodeLUT() const;
ScalarType scalarType;
friend class FieldCreate;
};
@@ -330,7 +330,7 @@ protected:
*/
virtual ~ScalarArray();
private:
const int8 getTypeCodeLUT() const;
int8 getTypeCodeLUT() const;
const String getIDScalarArrayLUT() const;
ScalarType elementType;
friend class FieldCreate;