tests/python/c_code@c_ext/baseconfnode.xml
author |
Andrey Skvortsov <andrej.skvortzov@gmail.com> |
|
Mon, 18 Apr 2016 18:59:11 +0300 |
changeset 1479 |
8f41aa88aa46 |
parent 1401 |
611fded24ce4
|
permissions |
-rw-r--r-- |
fix many compilation warnings about static variables used by non-static functions
[CC] plc_main.c -> plc_main.o
/tmp/be/build/plc_main.c:396:40: warning: ?LogBuff? is static but used in inline function ?copy_from_log? which is not static
memcpy((char*)buf + remaining, LogBuff[level], size - remaining);
^
/tmp/be/build/plc_main.c:395:22: warning: ?LogBuff? is static but used in inline function ?copy_from_log? which is not static
memcpy(buf, &LogBuff[level][buffpos], remaining);
^
...
^
/tmp/be/build/plc_debugger.c:825:20: warning: ?retain_offset? is static but used in inline function ?BufferIterator? which is not static
Retain(retain_offset, size, real_value_p);
^
/tmp/be/build/plc_debugger.c:823:47: warning: ?retain_offset? is static but used in inline function ?BufferIterator? which is not static
unsigned int next_retain_offset = retain_offset + size;
^
^
1401
611fded24ce4
Pair with matiec a51a3bb4d613. Re-enable resource add/remove, updated CFLAGS, disabled broken global FG test in tests/python
Edouard Tisserant
diff
changeset
|
1 |
<?xml version='1.0' encoding='utf-8'?>
|
734
|
2 |
<BaseParams Name="c_code" IEC_Channel="1"/>
|