rtems/vxworks compiler warnings
This commit is contained in:
@@ -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("");
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user