UNCLASSIFIED
Hi,
After adding some extra includes to various files and -Xlinker
--no-as-needed to ld flags I have OpenCPI compiling on Ubuntu 10.11.
I intend to raise a bug in bugzilla with patches when done.
Note that I haven't got ISE 13 at the moment so have not done "make hdl"
I'm not sure what the current regression testing procedure is but my
results are below.
Any feedback on the errors encountered would be appreciated.
The errors from run_tests.csh and ocpi_unit_test are of particular
interest.
I've also included the warnings from the build.
Cheers,
Troy
Running "make run" in ocpi/examples/*:
hello :
PASS (after increasing the getBuffer loop count)
bestfit_test :
FAILS with : Usage: ./bestfit,<min throughput: (frames per
second)> <max distortion: (%)> <max memory: (bytes)>
canny:
FAILS with : Exception(s): Code 0x70004, level 0, error:
ocpi-smb-pio://pioXfer32491:100000000.5.10
dds_port:
Not run, DDS not installed
feature_detection:
FAILS with : Exception(s): No usable artifact found in any
library in OCPI_LIBRARY_PATH, for worker named "min_eigen_val"
image_filtering:
FAILS with : Exception(s): Code 0x70004, level 0, error:
ocpi-smb-pio://pioXfer33241:40000000.4.10
optical_flow:
FAILS with : Exception(s): No usable artifact found in any
library in OCPI_LIBRARY_PATH, for worker named "min_eigen_val"
Running ../bin/src/run_tests.csh in
core/container/ctests/linux-x86_64-bin:
Results in the following error (all other tests pass):
Running test_xml_worker...
Error: Code 0x8, level 1, error: Target Port count exceeds
configuration
Running ocpi_unit_test in tests/framework/framework/linux-x86_64-bin:
All test pass but on exit I get:
[----------] Global test environment tear-down
[==========] 58 tests from 12 test cases ran. (17139 ms total)
[ PASSED ] 58 tests.
*** glibc detected *** ./ocpi_unit_test: free(): invalid size:
0x000000000202a2d0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x78a96)[0x7f90ed767a96]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7f90ed76bd7c]
/home/zierscht/openCPI/lib/linux-x86_64-bin/libtest_logger.so(_ZN7testin
g8internal6StringD1Ev+0x27)[0x7f90eef702e5]
/home/zierscht/openCPI/lib/linux-x86_64-bin/libtest_logger.so(_ZSt8_Dest
royIN7testing8internal6StringEEvPT_+0x18)[0x7f90eefa05a0]
/home/zierscht/openCPI/lib/linux-x86_64-bin/libtest_logger.so(_ZNSt12_De
stroy_auxILb0EE9__destroyIPN7testing8internal6StringEEEvT_S6_+0x26)[0x7f
90eef9ff5c]
/home/zierscht/openCPI/lib/linux-x86_64-bin/libtest_logger.so(_ZSt8_Dest
royIPN7testing8internal6StringEEvT_S4_+0x23)[0x7f90eef9f506]
/home/zierscht/openCPI/lib/linux-x86_64-bin/libtest_logger.so(_ZSt8_Dest
royIPN7testing8internal6StringES2_EvT_S4_RSaIT0_E+0x27)[0x7f90eef9e575]
/home/zierscht/openCPI/lib/linux-x86_64-bin/libtest_logger.so(_ZNSt6vect
orIN7testing8internal6StringESaIS2_EED2Ev+0x36)[0x7f90eefa115c]
/lib/x86_64-linux-gnu/libc.so.6(__cxa_finalize+0x9d)[0x7f90ed72ac3d]
xxxx/openCPI/lib/linux-x86_64-bin/libtest_os.so(+0x4c4a6)[0x7f90eecc04a6
]
======= Memory map: ========
truncted
The warnings from "make" are:
ezxml.c: In function 'ezxml_internal_dtd':
ezxml.c:385:26: warning: operation on 's' may be undefined
[-Wsequence-point]
OcpiUtilEzxml.cxx: In function 'bool OCPI::Util::EzXml::parseBool(const
char*, const char*, bool*)':
OcpiUtilEzxml.cxx:469:74: warning: suggest brackets (parentheses) around
'&&' within '||' [-Wparentheses]
OcpiUtilEzxml.cxx:471:81: warning: suggest brackets (parentheses) around
'&&' within '||' [-Wparentheses]
OcpiUtilDataTypes.cxx: In member function 'const char*
OCPI::Util::Member::parse(ezxml_t, bool, bool, const char*, unsigned
int)':
OcpiUtilDataTypes.cxx:123:55: warning: converting 'false' to pointer
type for argument 4 of 'const char* OCPI::Util::Member::parse(ezxml_t,
bool, bool, const char*, unsigned int)' [-Wconversion-null]
OcpiUtilProtocol.cxx: In member function 'const char*
OCPI::Util::Operation::parse(ezxml_t, OCPI::Util::Protocol&)':
OcpiUtilProtocol.cxx:97:85: warning: converting 'false' to pointer type
for argument 6 of 'static const char*
OCPI::Util::Member::parseMembers(ezxml_t, unsigned int&,
OCPI::Util::Member*&, bool, const char*, const char*)'
[-Wconversion-null]
OcpiUtilProtocol.cxx: In member function 'void
OCPI::Util::Protocol::finishOperation(const OCPI::Util::Operation&)':
OcpiUtilProtocol.cxx:243:51: warning: suggest brackets (parentheses)
around '&&' within '||' [-Wparentheses]
OcpiUtilPValue.cxx: In function 'bool OCPI::Util::findBool(const
PValue*, const char*, bool&)':
OcpiUtilPValue.cxx:88:5: warning: suggest explicit curly brackets
(braces) to avoid ambiguous 'else' [-Wparentheses]
OcpiUtilPValue.cxx: In function 'bool OCPI::Util::findChar(const
PValue*, const char*, char&)':
OcpiUtilPValue.cxx:88:5: warning: suggest explicit curly brackets
(braces) to avoid ambiguous 'else' [-Wparentheses]
OcpiUtilPValue.cxx: In function 'bool OCPI::Util::findDouble(const
PValue*, const char*, double&)':
OcpiUtilPValue.cxx:88:5: warning: suggest explicit curly brackets
(braces) to avoid ambiguous 'else' [-Wparentheses]
OcpiUtilPValue.cxx: In function 'bool OCPI::Util::findFloat(const
PValue*, const char*, float&)':
OcpiUtilPValue.cxx:88:5: warning: suggest explicit curly brackets
(braces) to avoid ambiguous 'else' [-Wparentheses]
OcpiUtilPValue.cxx: In function 'bool OCPI::Util::findShort(const
PValue*, const char*, int16_t&)':
OcpiUtilPValue.cxx:88:5: warning: suggest explicit curly brackets
(braces) to avoid ambiguous 'else' [-Wparentheses]
OcpiUtilPValue.cxx: In function 'bool OCPI::Util::findLong(const
PValue*, const char*, int32_t&)':
OcpiUtilPValue.cxx:88:5: warning: suggest explicit curly brackets
(braces) to avoid ambiguous 'else' [-Wparentheses]
OcpiUtilPValue.cxx: In function 'bool OCPI::Util::findUChar(const
PValue*, const char*, uint8_t&)':
OcpiUtilPValue.cxx:88:5: warning: suggest explicit curly brackets
(braces) to avoid ambiguous 'else' [-Wparentheses]
OcpiUtilPValue.cxx: In function 'bool OCPI::Util::findULong(const
PValue*, const char*, uint32_t&)':
OcpiUtilPValue.cxx:88:5: warning: suggest explicit curly brackets
(braces) to avoid ambiguous 'else' [-Wparentheses]
OcpiUtilPValue.cxx: In function 'bool OCPI::Util::findUShort(const
PValue*, const char*, uint16_t&)':
OcpiUtilPValue.cxx:88:5: warning: suggest explicit curly brackets
(braces) to avoid ambiguous 'else' [-Wparentheses]
OcpiUtilPValue.cxx: In function 'bool OCPI::Util::findLongLong(const
PValue*, const char*, int64_t&)':
OcpiUtilPValue.cxx:88:5: warning: suggest explicit curly brackets
(braces) to avoid ambiguous 'else' [-Wparentheses]
OcpiUtilPValue.cxx: In function 'bool OCPI::Util::findULongLong(const
PValue*, const char*, uint64_t&)':
OcpiUtilPValue.cxx:88:5: warning: suggest explicit curly brackets
(braces) to avoid ambiguous 'else' [-Wparentheses]
OcpiUtilPValue.cxx: In function 'bool OCPI::Util::findString(const
PValue*, const char*, const char*&)':
OcpiUtilPValue.cxx:88:5: warning: suggest explicit curly brackets
(braces) to avoid ambiguous 'else' [-Wparentheses]
OcpiUtilValue.cxx: In member function 'const char*
OCPI::Util::Value::parseString(const char*, const char*, const char*&)':
OcpiUtilValue.cxx:349:43: warning: suggest brackets (parentheses) around
'&&' within '||' [-Wparentheses]
OcpiUtilValue.cxx:338:12: warning: variable 'quoted' set but not used
[-Wunused-but-set-variable]
OcpiTimeEmit.cxx: In destructor 'OCPI::Time::Emit::~Emit()':
OcpiTimeEmit.cxx:325:38: warning: suggest curly brackets (braces) around
empty body in an 'if' statement [-Wempty-body]
OcpiUtilVfsUtil.cxx: In function 'void
OCPI::Util::Vfs::removeFilesRecursively(OCPI::Util::Vfs::Vfs*, const
string&, const string&, bool)':
OcpiUtilVfsUtil.cxx:197:16: warning: variable 'isempty' set but not used
[-Wunused-but-set-variable]
OcpiUtilVfsUtil.cxx: In function 'void
OCPI::Util::Vfs::removeDirectoryRecursively(OCPI::Util::Vfs::Vfs*, const
string&, const string&, bool)':
OcpiUtilVfsUtil.cxx:255:10: warning: variable 'isempty' set but not used
[-Wunused-but-set-variable]
fasttimed_main.cxx: In function 'void usage()':
fasttimed_main.cxx:67:30: warning: format not a string literal and no
format arguments [-Wformat-security]
DtSocketsXfer.cxx: In member function 'virtual void
DataTransfer::SocketXferRequest::post()':
DtSocketsXfer.cxx:609:21: warning: variable 'pio_rc' set but not used
[-Wunused-but-set-variable]
OcpiPort.cxx: In member function 'void
OCPI::DataTransport::Port::getOffsets(uint32_t, OCPI::Util::VList&)':
OcpiPort.cxx:1008:74: warning: cast to pointer from integer of different
size [-Wint-to-pointer-cast] In file included from
OcpiComponentLibrary.cxx:10:0:
../../library/include/OcpiLibraryManager.h:108:34: warning: type
qualifiers ignored on function return type [-Wignored-qualifiers] In
file included from OcpiLibraryManager.cxx:6:0:
../../library/include/OcpiLibraryManager.h:108:34: warning: type
qualifiers ignored on function return type [-Wignored-qualifiers] In
file included from ../../api/include/OcpiContainerInterface.h:64:0,
from OcpiContainerApplication.cxx:35:
/home/zierscht/openCPI/core/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers] In file included from
../../api/include/OcpiContainerInterface.h:64:0,
from ../../api/include/OcpiContainerApplication.h:51,
from OcpiContainerArtifact.cxx:37:
/home/zierscht/openCPI/core/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers] In file included from
OcpiContainerInterface.cxx:46:0:
/home/zierscht/openCPI/core/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
OcpiContainerInterface.cxx: In function 'std::string
OCPI::Container::packDescriptor(OCPI::Util::CDR::Encoder&, const
OCPI::RDT::Descriptors&)':
OcpiContainerInterface.cxx:110:16: warning: converting 'false' to
pointer type for argument 1 of 'std::basic_string<_CharT, _Traits,
_Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char,
_Traits = std::char_traits<char>, _Alloc = std::allocator<char>]'
[-Wconversion-null] In file included from
../../api/include/OcpiContainerInterface.h:64:0,
from ../../api/include/OcpiContainerManager.h:58,
from OcpiContainerManager.cxx:34:
/home/zierscht/openCPI/core/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers] In file included from
../../api/include/OcpiContainerInterface.h:64:0,
from OcpiContainerMisc.cxx:38:
/home/zierscht/openCPI/core/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers] In file included from
../../api/include/OcpiContainerInterface.h:64:0,
from ../../api/include/OcpiContainerPort.h:41,
from OcpiContainerPort.cxx:35:
/home/zierscht/openCPI/core/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
OcpiContainerPort.cxx: In member function 'void
OCPI::Container::PortData::setPortParams(const OCPI::Metadata::Port&,
const PValue*)':
OcpiContainerPort.cxx:70:10: warning: suggest explicit curly brackets
(braces) to avoid ambiguous 'else' [-Wparentheses]
OcpiContainerPort.cxx:75:10: warning: suggest explicit curly brackets
(braces) to avoid ambiguous 'else' [-Wparentheses] In file included from
../../api/include/OcpiContainerInterface.h:64:0,
from ../../api/include/OcpiContainerApplication.h:51,
from OcpiProperty.cxx:35:
/home/zierscht/openCPI/core/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers] In file included from
../../api/include/OcpiContainerInterface.h:64:0,
from ../../api/include/OcpiContainerApplication.h:51,
from OcpiWorker.cxx:36:
/home/zierscht/openCPI/core/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers] In file included from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erInterface.h:64:0,
from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erManager.h:58,
from HdlContainer.cxx:73:
/home/zierscht/openCPI/core/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
HdlContainer.cxx: In member function 'virtual OCPI::Container::Port&
OCPI::HDL::Worker::createPort(const OCPI::Metadata::Port&, const
OCPI::API::PValue*)':
HdlContainer.cxx:1058:46: warning: suggest brackets (parentheses) around
'&&' within '||' [-Wparentheses]
HdlContainer.cxx: In constructor
'OCPI::HDL::ExternalPort::ExternalPort(OCPI::HDL::Port&, const char*,
bool, const OCPI::API::PValue*)':
HdlContainer.cxx:1173:31: warning: variable 'size' set but not used
[-Wunused-but-set-variable] In file included from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erInterface.h:64:0,
from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erManager.h:58,
from XyzContainer.cxx:40:
/home/zierscht/openCPI/core/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
XyzContainer.cxx:100:14: warning: unused parameter 'exclude'
[-Wunused-parameter]
XyzContainer.cxx:107:20: warning: unused parameter 'props'
[-Wunused-parameter]
XyzContainer.cxx:173:20: warning: unused parameter 'mp'
[-Wunused-parameter]
XyzContainer.cxx:173:20: warning: unused parameter 'writeVaddr'
[-Wunused-parameter]
XyzContainer.cxx:173:20: warning: unused parameter 'readVaddr'
[-Wunused-parameter]
XyzContainer.cxx:181:7: warning: unused parameter 'portId'
[-Wunused-parameter]
XyzContainer.cxx:181:7: warning: unused parameter 'bufferCount'
[-Wunused-parameter]
XyzContainer.cxx:181:7: warning: unused parameter 'bufferSize'
[-Wunused-parameter]
XyzContainer.cxx:181:7: warning: unused parameter 'props'
[-Wunused-parameter]
XyzContainer.cxx:188:7: warning: unused parameter 'portId'
[-Wunused-parameter]
XyzContainer.cxx:188:7: warning: unused parameter 'bufferCount'
[-Wunused-parameter]
XyzContainer.cxx:188:7: warning: unused parameter 'bufferSize'
[-Wunused-parameter]
XyzContainer.cxx:188:7: warning: unused parameter 'props'
[-Wunused-parameter]
XyzContainer.cxx:368:12: warning: unused parameter 'pProps'
[-Wunused-parameter]
XyzContainer.cxx:368:12: warning: unused parameter 'apiUserPort'
[-Wunused-parameter]
XyzContainer.cxx:368:12: warning: unused parameter 'uProps'
[-Wunused-parameter]
XyzContainer.cxx:384:12: warning: unused parameter 'other'
[-Wunused-parameter]
XyzContainer.cxx: In member function 'virtual OCPI::Container::Port&
OCPI::XYZ::Worker::createPort(const OCPI::Metadata::Port&, const
OCPI::API::PValue*)':
XyzContainer.cxx:430:82: warning: suggest brackets (parentheses) around
'&&' within '||' [-Wparentheses]
XyzContainer.cxx:436:51: warning: suggest brackets (parentheses) around
'&&' within '||' [-Wparentheses]
XyzContainer.cxx: At global scope:
XyzContainer.cxx:468:12: warning: unused parameter 'opCode'
[-Wunused-parameter]
XyzContainer.cxx: In constructor
'OCPI::XYZ::ExternalPort::ExternalPort(OCPI::XYZ::Port&, const char*,
const OCPI::API::PValue*)':
XyzContainer.cxx:497:18: warning: unused variable 'nFar'
[-Wunused-variable]
XyzContainer.cxx: At global scope:
XyzContainer.cxx:535:7: warning: unused parameter 'bdata'
[-Wunused-parameter]
XyzContainer.cxx:535:7: warning: unused parameter 'length'
[-Wunused-parameter]
XyzContainer.cxx:535:7: warning: unused parameter 'opCode'
[-Wunused-parameter]
XyzContainer.cxx:535:7: warning: unused parameter 'end'
[-Wunused-parameter]
XyzContainer.cxx:539:27: warning: unused parameter 'bdata'
[-Wunused-parameter]
XyzContainer.cxx:539:27: warning: unused parameter 'length'
[-Wunused-parameter]
testRpl_main.cxx: In function 'int main(int, char**)':
testRpl_main.cxx:202:62: warning: variable 'memorySize' set but not used
[-Wunused-but-set-variable]
testRpl_main.cxx:204:12: warning: variable 'memoryBase' set but not used
[-Wunused-but-set-variable]
testRpl_main.cxx:205:8: warning: variable 'probe' set but not used
[-Wunused-but-set-variable]
testRpl_main.cxx:205:65: warning: variable 'same' set but not used
[-Wunused-but-set-variable] In file included from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erInterface.h:64:0,
from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erManager.h:58,
from OcpiOclContainer.cxx:47:
/home/zierscht/openCPI/core/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers] In file included from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erInterface.h:64:0,
from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erManager.h:58,
from OcpiRccApplication.cxx:50:
/home/zierscht/openCPI/core/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
OcpiRccApplication.cxx:88:14: warning: unused parameter 'implName'
[-Wunused-parameter] In file included from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erInterface.h:64:0,
from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erPort.h:41,
from
/home/zierscht/openCPI/core/container/rcc_container/include/OcpiRccPort.
h:56,
from OcpiRccContainer.cxx:61:
/home/zierscht/openCPI/core/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers] In file included from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erInterface.h:64:0,
from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erPort.h:41,
from
/home/zierscht/openCPI/core/container/rcc_container/include/OcpiRccPort.
h:56,
from OcpiRccController.cxx:58:
/home/zierscht/openCPI/core/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers] In file included from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erInterface.h:64:0,
from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erManager.h:58,
from OcpiRccDriver.cxx:1:
/home/zierscht/openCPI/core/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers] In file included from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erInterface.h:64:0,
from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erPort.h:41,
from
/home/zierscht/openCPI/core/container/rcc_container/include/OcpiRccPort.
h:56,
from OcpiRccMessagePort.cxx:46:
/home/zierscht/openCPI/core/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers] In file included from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erInterface.h:64:0,
from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erPort.h:41,
from
/home/zierscht/openCPI/core/container/rcc_container/include/OcpiRccPort.
h:56,
from OcpiRccPort.cxx:47:
/home/zierscht/openCPI/core/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers] In file included from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erInterface.h:64:0,
from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erPort.h:41,
from
/home/zierscht/openCPI/core/container/rcc_container/include/OcpiRccPort.
h:56,
from OcpiRccWorker.cxx:48:
/home/zierscht/openCPI/core/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers] In file included from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erInterface.h:64:0,
from GPPContainerTest_main.cxx:51:
/home/zierscht/openCPI/core/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers] In file included from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erInterface.h:64:0,
from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erPort.h:41,
from test_utilities.cxx:54:
/home/zierscht/openCPI/core/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers] In file included from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erInterface.h:64:0,
from RCCLbTest_main.cxx:48:
/home/zierscht/openCPI/core/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers] In file included from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erInterface.h:64:0,
from RTxTest_main.cxx:47:
/home/zierscht/openCPI/core/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers] In file included from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erInterface.h:64:0,
from ../../bin/include/test_utilities.h:53,
from test_advanced_port_mgmt_main.cxx:55:
/home/zierscht/openCPI/core/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers] In file included from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erInterface.h:64:0,
from ../../bin/include/test_utilities.h:53,
from test_control_errors_main.cxx:55:
/home/zierscht/openCPI/core/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers] In file included from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erInterface.h:64:0,
from ../../bin/include/test_utilities.h:53,
from test_optional_ports_main.cxx:54:
/home/zierscht/openCPI/core/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers] In file included from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erInterface.h:64:0,
from ../../bin/include/test_utilities.h:53,
from test_shutdown_main.cxx:56:
/home/zierscht/openCPI/home/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers] In file included from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erInterface.h:64:0,
from ../../bin/include/test_utilities.h:53,
from test_timeout_worker_main.cxx:53:
/home/zierscht/openCPI/core/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers] In file included from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erInterface.h:64:0,
from ../../bin/include/test_utilities.h:53,
from test_transfer_roles_main.cxx:56:
/home/zierscht/openCPI/core/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers] In file included from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erInterface.h:64:0,
from ../../bin/include/test_utilities.h:53,
from test_user_port_main.cxx:56:
/home/zierscht/openCPI/core/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers] In file included from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erInterface.h:64:0,
from ../../bin/include/test_utilities.h:53,
from test_xml_worker_main.cxx:56:
/home/zierscht/openCPI/core/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
test_xml_worker_main.cxx: In function 'int main(int, char**)':
test_xml_worker_main.cxx:139:7: warning: variable 'cmap' set but not
used [-Wunused-but-set-variable] In file included from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erInterface.h:64:0,
from ../../bin/include/test_utilities.h:53,
from test_zero_copy_io_main.cxx:56:
/home/zierscht/openCPI/core/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
idl2ifr.cxx: In function 'const char* idl2ifr(char**, char*&)':
idl2ifr.cxx:229:7: warning: suggest explicit curly brackets (braces) to
avoid ambiguous 'else' [-Wparentheses] In file included from
/home/zierscht/openCPI/core/container/interfaces/api/include/OcpiContain
erInterface.h:64:0,
from ocpi-rcc-test_main.cxx:77:
/home/zierscht/openCPI/core/library/include/OcpiLibraryManager.h:108:34:
warning: type qualifiers ignored on function return type
[-Wignored-qualifiers]
ocpi-rcc-test_main.cxx: In member function 'void
TestWorker::connectInputPorts()':
ocpi-rcc-test_main.cxx:1070:31: warning: variable 'portInfo' set but not
used [-Wunused-but-set-variable]
ocpi-rcc-test_main.cxx: In member function 'void
TestWorker::connectOutputPorts()':
ocpi-rcc-test_main.cxx:1171:31: warning: variable 'portInfo' set but not
used [-Wunused-but-set-variable]
cdkutils.cxx: In function 'const char* parseFile(const char*, const
char*, const char*, ezxml**, const char**, bool)':
cdkutils.cxx:57:32: warning: suggest brackets (parentheses) around '&&'
within '||' [-Wparentheses]
wip_HDL.cxx: In function 'const char* pattern(Worker*, Port*, int,
unsigned int, bool, bool, char**)':
wip_HDL.cxx:71:12: warning: variable 'noOrdinal' set but not used
[-Wunused-but-set-variable]
wip_HDL.cxx: In function 'const char* emitBsvHDL(Worker*, const char*)':
wip_HDL.cxx:1352:41: warning: suggest brackets (parentheses) around '&&'
within '||' [-Wparentheses]
wip_HDL.cxx:1383:36: warning: suggest brackets (parentheses) around '&&'
within '||' [-Wparentheses]
wip_HDL.cxx:1409:36: warning: suggest brackets (parentheses) around '&&'
within '||' [-Wparentheses]
wip_HDL.cxx:1420:57: warning: suggest brackets (parentheses) around '&&'
within '||' [-Wparentheses]
wip_HDL.cxx:1469:68: warning: suggest brackets (parentheses) around '&&'
within '||' [-Wparentheses]
wip_HDL.cxx:1489:68: warning: suggest brackets (parentheses) around '&&'
within '||' [-Wparentheses]
wip_HDL.cxx:1515:41: warning: suggest brackets (parentheses) around '&&'
within '||' [-Wparentheses]
wip_HDL.cxx:1538:41: warning: suggest brackets (parentheses) around '&&'
within '||' [-Wparentheses]
wip_parse.cxx: In function 'const char* checkClock(Worker*, ezxml_t,
Port*)':
wip_parse.cxx:109:12: warning: suggest explicit curly brackets (braces)
to avoid ambiguous 'else' [-Wparentheses]
wip_parse.cxx: In function 'const char* checkDataPort(Worker*, ezxml_t,
Port**)':
wip_parse.cxx:137:42: warning: suggest brackets (parentheses) around
'&&' within '||' [-Wparentheses]
wip_parse.cxx: In function 'const char* parseHdlImpl(ezxml_t, const
char*, Worker*)':
wip_parse.cxx:611:8: warning: suggest explicit curly brackets (braces)
to avoid ambiguous 'else' [-Wparentheses]
wip_parse.cxx:621:8: warning: suggest explicit curly brackets (braces)
to avoid ambiguous 'else' [-Wparentheses]
wip_parse.cxx: In function 'const char* parseAssy(ezxml_t, const char*,
Worker*, const char**, const char**, bool)':
wip_parse.cxx:992:6: warning: suggest explicit curly brackets (braces)
to avoid ambiguous 'else' [-Wparentheses]
dataTypeTest.cxx: In function 'void dataTypeTest(unsigned int)':
dataTypeTest.cxx:237:29: warning: format '%llx' expects argument of type
'long long unsigned int', but argument 3 has type 'uint8_t* {aka
unsigned char*}' [-Wformat]
dataTypeTest.cxx:237:29: warning: format '%llx' expects argument of type
'long long unsigned int', but argument 4 has type 'uint8_t* {aka
unsigned char*}' [-Wformat]
dataTypeTest.cxx:233:9: warning: unused variable 'dif'
[-Wunused-variable]
ocpidds.cxx:66:1: warning: unused parameter 'outDir'
[-Wunused-parameter]
ocpidds.cxx: In function 'const char* idl2ifr(const char* const*,
char*&)':
ocpidds.cxx:434:7: warning: suggest explicit curly brackets (braces) to
avoid ambiguous 'else' [-Wparentheses]
src/mem_probe.c: In function 'main':
src/mem_probe.c:137:23: warning: 'ptr' may be used uninitialised in this
function [-Wuninitialized]
src/nft.c: In function 'main':
src/nft.c:204:14: warning: variable 'nFrom' set but not used
[-Wunused-but-set-variable]
src/swctl.c: In function 'admin':
src/swctl.c:225:15: warning: variable 'y' set but not used
[-Wunused-but-set-variable]
src/swctl.c:225:12: warning: variable 'x' set but not used
[-Wunused-but-set-variable] In file included from
TestOcpiOsFileSystem.cxx:38:0:
/opt/opencpi/linux-x86_64/prerequisites/gtest/include/gtest/gtest.h: In
function 'testing::AssertionResult testing::internal::CmpHelperEQ(const
char*, const char*, const T1&, const T2&) [with T1 = long long unsigned
int, T2 = int]':
/opt/opencpi/linux-x86_64/prerequisites/gtest/include/gtest/gtest.h:1353
:30: instantiated from 'static testing::AssertionResult
testing::internal::EqHelper<lhs_is_null_literal>::Compare(const char*,
const char*, const T1&, const T2&) [with T1 = long long unsigned int, T2
= int, bool lhs_is_null_literal = false]'
TestOcpiOsFileSystem.cxx:258:5: instantiated from here
/opt/opencpi/linux-x86_64/prerequisites/gtest/include/gtest/gtest.h:1316
:3: warning: comparison between signed and unsigned integer expressions
[-Wsign-compare] In file included from
TestOcpiOsProcessorManager.cxx:40:0:
/opt/opencpi/linux-x86_64/prerequisites/gtest/include/gtest/gtest.h: In
function 'testing::AssertionResult testing::internal::CmpHelperLT(const
char*, const char*, const T1&, const T2&) [with T1 = unsigned int, T2 =
int]':
TestOcpiOsProcessorManager.cxx:347:5: instantiated from here
/opt/opencpi/linux-x86_64/prerequisites/gtest/include/gtest/gtest.h:1449
:1: warning: comparison between signed and unsigned integer expressions
[-Wsign-compare] In file included from TestOcpiOsSocket.cxx:42:0:
/opt/opencpi/linux-x86_64/prerequisites/gtest/include/gtest/gtest.h: In
function 'testing::AssertionResult testing::internal::CmpHelperGT(const
char*, const char*, const T1&, const T2&) [with T1 = unsigned int, T2 =
int]':
TestOcpiOsSocket.cxx:186:5: instantiated from here
/opt/opencpi/linux-x86_64/prerequisites/gtest/include/gtest/gtest.h:1453
:1: warning: comparison between signed and unsigned integer expressions
[-Wsign-compare]
/opt/opencpi/linux-x86_64/prerequisites/gtest/include/gtest/gtest.h: In
function 'testing::AssertionResult testing::internal::CmpHelperLT(const
char*, const char*, const T1&, const T2&) [with T1 = unsigned int, T2 =
int]':
TestOcpiOsSocket.cxx:187:5: instantiated from here
/opt/opencpi/linux-x86_64/prerequisites/gtest/include/gtest/gtest.h:1449
:1: warning: comparison between signed and unsigned integer expressions
[-Wsign-compare]
/opt/opencpi/linux-x86_64/prerequisites/gtest/include/gtest/gtest.h: In
function 'testing::AssertionResult testing::internal::CmpHelperEQ(const
char*, const char*, const T1&, const T2&) [with T1 = unsigned int, T2 =
int]':
/opt/opencpi/linux-x86_64/prerequisites/gtest/include/gtest/gtest.h:1353
:30: instantiated from 'static testing::AssertionResult
testing::internal::EqHelper<lhs_is_null_literal>::Compare(const char*,
const char*, const T1&, const T2&) [with T1 = unsigned int, T2 = int,
bool lhs_is_null_literal = false]'
TestOcpiOsSocket.cxx:197:5: instantiated from here
/opt/opencpi/linux-x86_64/prerequisites/gtest/include/gtest/gtest.h:1316
:3: warning: comparison between signed and unsigned integer expressions
[-Wsign-compare]
/opt/opencpi/linux-x86_64/prerequisites/gtest/include/gtest/gtest.h: In
function 'testing::AssertionResult testing::internal::CmpHelperEQ(const
char*, const char*, const T1&, const T2&) [with T1 = long long unsigned
int, T2 = int]':
/opt/opencpi/linux-x86_64/prerequisites/gtest/include/gtest/gtest.h:1353
:30: instantiated from 'static testing::AssertionResult
testing::internal::EqHelper<lhs_is_null_literal>::Compare(const char*,
const char*, const T1&, const T2&) [with T1 = long long unsigned int, T2
= int, bool lhs_is_null_literal = false]'
TestOcpiOsSocket.cxx:239:7: instantiated from here
/opt/opencpi/linux-x86_64/prerequisites/gtest/include/gtest/gtest.h:1316
:3: warning: comparison between signed and unsigned integer expressions
[-Wsign-compare] In file included from TestOcpiOsTimer.cxx:40:0:
/opt/opencpi/linux-x86_64/prerequisites/gtest/include/gtest/gtest.h: In
function 'testing::AssertionResult testing::internal::CmpHelperGE(const
char*, const char*, const T1&, const T2&) [with T1 = unsigned int, T2 =
int]':
TestOcpiOsTimer.cxx:81:5: instantiated from here
/opt/opencpi/linux-x86_64/prerequisites/gtest/include/gtest/gtest.h:1451
:1: warning: comparison between signed and unsigned integer expressions
[-Wsign-compare]
/opt/opencpi/linux-x86_64/prerequisites/gtest/include/gtest/gtest.h: In
function 'testing::AssertionResult testing::internal::CmpHelperLE(const
char*, const char*, const T1&, const T2&) [with T1 = unsigned int, T2 =
int]':
TestOcpiOsTimer.cxx:82:5: instantiated from here
/opt/opencpi/linux-x86_64/prerequisites/gtest/include/gtest/gtest.h:1447
:1: warning: comparison between signed and unsigned integer expressions
[-Wsign-compare]
/opt/opencpi/linux-x86_64/prerequisites/gtest/include/gtest/gtest.h: In
function 'testing::AssertionResult testing::internal::CmpHelperNE(const
char*, const char*, const T1&, const T2&) [with T1 = unsigned int, T2 =
int]':
TestOcpiOsTimer.cxx:144:5: instantiated from here
/opt/opencpi/linux-x86_64/prerequisites/gtest/include/gtest/gtest.h:1445
:1: warning: comparison between signed and unsigned integer expressions
[-Wsign-compare]
/opt/opencpi/linux-x86_64/prerequisites/gtest/include/gtest/gtest.h: In
function 'testing::AssertionResult testing::internal::CmpHelperEQ(const
char*, const char*, const T1&, const T2&) [with T1 = unsigned int, T2 =
int]':
/opt/opencpi/linux-x86_64/prerequisites/gtest/include/gtest/gtest.h:1353
:30: instantiated from 'static testing::AssertionResult
testing::internal::EqHelper<lhs_is_null_literal>::Compare(const char*,
const char*, const T1&, const T2&) [with T1 = unsigned int, T2 = int,
bool lhs_is_null_literal = false]'
TestOcpiOsTimer.cxx:143:5: instantiated from here
/opt/opencpi/linux-x86_64/prerequisites/gtest/include/gtest/gtest.h:1316
:3: warning: comparison between signed and unsigned integer expressions
[-Wsign-compare]
The warnings from "make rcc" are:
canny.c: In function 'doFrame':
canny.c:102:16: warning: variable 'maxsize' set but not used
[-Wunused-but-set-variable]
optical_flow_pyr_lk.c: In function 'calcOpticalFlowPyrLK':
optical_flow_pyr_lk.c:199:41: warning: comparison between signed and
unsigned integer expressions [-Wsign-compare]
optical_flow_pyr_lk.c:200:42: warning: comparison between signed and
unsigned integer expressions [-Wsign-compare]
optical_flow_pyr_lk.c:279:45: warning: comparison between signed and
unsigned integer expressions [-Wsign-compare]
optical_flow_pyr_lk.c:280:39: warning: comparison between signed and
unsigned integer expressions [-Wsign-compare]
optical_flow_pyr_lk.c: In function 'run':
optical_flow_pyr_lk.c:371:23: warning: unused variable 'c'
[-Wunused-variable]
IMPORTANT: This email remains the property of the Department of Defence
and is subject to the jurisdiction of section 70 of the Crimes Act 1914.
If you have received this email in error, you are requested to contact
the sender and delete the email.
_______________________________________________
opencpi_dev mailing list
[email protected]
http://lists.opencpi.org/listinfo.cgi/opencpi_dev-opencpi.org