Tiny compile error for mipsel

asked 2015-10-15 19:53:53 -0800

louehyce gravatar image

Hi,

In alljoyn_core/samples/eventaction/SimpleRulesEngine/posix/MyAllJoynCode.cc

for (size_t i = 0; i < count; ++i) {
....
        for (size_t i = 0; i < numElements; i++) {
            sprintf(appIdStr + (i * 2), "%02x", appIdBuffer[i]);
        }
....
}

My compiler (gcc-4.5.4-2.8) for mipsel always emits an error for this code. I think this should be revised clearly. How do you think about it ?

edit retag flag offensive close merge delete

Comments

Would it be possible to provide the exact compiler error you are observing? Also kindly add the version of the code (15.04 / 15.09 etc.) you are using.

praveenb ( 2015-10-16 00:03:28 -0800 )edit