Dear Armin-Hagen, OK, that's understood. But in that case: multiple examples don't follow this rule. They use declare "INT32 noDesc" in the loop, so this variable is not initialized at all. Suggested patch: move it outside the loop and initialize it. Patch for examples receiveHello.c / sendData.c / sendHello.c: --- example/receiveHello.c (revision 2442) +++ example/receiveHello.c (working copy) @@ -249,10 +249,10 @@ /* Enter the main processing loop. */ + INT32 noDesc = VOS_INVALID_SOCKET; while...
Dear Armin, OK, that's understood. But in that case: multiple examples don't follow this rule. They use declare "INT32 noDesc" in the loop, so this variable is not initialized at all. Suggested patch: move it outside the loop and initialize it. Patch for examples receiveHello.c / sendData.c / sendHello.c: --- example/receiveHello.c (revision 2442) +++ example/receiveHello.c (working copy) @@ -249,10 +249,10 @@ /* Enter the main processing loop. */ + INT32 noDesc = VOS_INVALID_SOCKET; while (1) {...
r2442 compile error in file common/trdp_stats.c
I'm afraid the "#include <net if_dl.h="">" didn't make it in the commit. Without this line, the code doesn't compile/link on QNX</net>
example receiveHello crashes with memory fault
QNX compiler warnings on strerror_r
QNX vos_getMacAddress implementation