rtems/vxworks compiler warnings

This commit is contained in:
Matej Sekoranja
2014-11-26 13:15:46 +01:00
parent e67e8153ef
commit 8541ffa5e9
3 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -287,7 +287,7 @@ bool SystemConfigurationImpl::getPropertyAsBoolean(const string &name, const boo
int32 SystemConfigurationImpl::getPropertyAsInteger(const string &name, const int32 defaultValue)
{
int32 retval;
int32 retval = defaultValue;
_ibuffer.clear();
_obuffer.clear();
_obuffer.str("");
+4 -2
View File
@@ -49,12 +49,14 @@ namespace epics {
class ReadPollOneCallback {
public:
~ReadPollOneCallback() {}
virtual void readPollOne() = 0;
};
class WritePollOneCallback {
public:
~WritePollOneCallback() {}
virtual void writePollOne() = 0 ;
};
@@ -2618,7 +2620,7 @@ namespace epics {
for (int32_t i = 0; i < header._payloadSize; i++) {
if ((int8_t)i != header._payload->getByte()) {
testFail("%s: (int8_t)%d == header._payload->getByte()",
CURRENT_FUNCTION, i);
CURRENT_FUNCTION, (int)i);
}
}
}
@@ -2823,7 +2825,7 @@ namespace epics {
for (int32_t i = 0; i < header._payloadSize; i++) {
if ((int8_t)i != header._payload->getByte()) {
testFail("%s: (int8_t)%d == header._payload->getByte()",
CURRENT_FUNCTION, i);
CURRENT_FUNCTION, (int)i);
}
}
+3
View File
@@ -53,6 +53,9 @@ map<string, PVStructure::shared_pointer> structureStore;
class StructureChangedCallback {
public:
POINTER_DEFINITIONS(StructureChangedCallback);
~StructureChangedCallback() {}
// TODO for now no BitSets, etc.
virtual void structureChanged() = 0;
};