BugSpencer
Ist gelegentlich hier
- Registriert
- 25. Mai 2026
- Beiträge
- 57
- Reaktionspunkte
- 59
- Punkte
- 50
void streamrelaybuf_readFromThreadDone(streamrelaybuf_t *buf)
{
atomic_store(&buf->readPos, buf->readPosNext);
//pthread_mutex_unlock(&buf->lock);
SAFE_MUTEX_UNLOCK(&buf->lock);
}
ich habe es noch mal probiert, restore dann Patch, aber es geht hier normalBeim kompilieren mit der 10 A kommt ein Fehler. Anbei ein Screenshot.
BUILD ------> module-serial.c
BUILD ------> module-streamrelaybuf.c
BUILD ------> module-webif-tpl.c
BUILD ------> webif/pages.c
BUILD ------> webif/pages_wiki.c
In file included from globals.h:2685,
from module-streamrelay.c:3:
module-streamrelay.c: In function 'writer_func':
module-streamrelay.c:1029:48: warning: too many arguments for format [-Wformat-extra-args]
1029 | cs_log("%i wait for first EcmRequest", conndata->connid, diff_ms);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
oscam-log.h:17:75: note: in definition of macro 'cs_log'
17 | #define cs_log(fmt, params...) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params)
| ^~~
module-streamrelay.c:1042:48: warning: too many arguments for format [-Wformat-extra-args]
1042 | cs_log("%i wait for first Ecm", conndata->connid, diff_ms);
| ^~~~~~~~~~~~~~~~~~~~~~~
oscam-log.h:17:75: note: in definition of macro 'cs_log'
17 | #define cs_log(fmt, params...) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params)
| ^~~
BUILD ------> reader-common.c
......................................................
BUILD ------> oscam-aes.c
module-streamrelay.c: In function 'logTiming':
module-streamrelay.c:939:79: warning: 'snprintf' output truncated before the last format character [-Wformat-truncation=]
939 | snprintf(maxLogText, sizeof(maxLogText), "max Lines LogTiming ");
| ^
module-streamrelay.c:939:17: note: 'snprintf' output 21 bytes into a destination of size 20
939 | snprintf(maxLogText, sizeof(maxLogText), "max Lines LogTiming ");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BUILD ------> oscam-hashtable.c
BUILD ------> oscam-array.c
BUILD ------> oscam-conf.c
module-streamrelay.c: In function 'writer_func':
oscam-log.h:17:45: warning: 'diff_ms' may be used uninitialized [-Wmaybe-uninitialized]
17 | #define cs_log(fmt, params...) cs_log_txt(MODULE_LOG_PREFIX, fmt, ##params)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
module-streamrelay.c:1042:41: note: in expansion of macro 'cs_log'
1042 | cs_log("%i wait for first Ecm", conndata->connid, diff_ms);
| ^~~~~~
module-streamrelay.c:992:18: note: 'diff_ms' was declared here
992 | uint64_t diff_ms;
| ^~~~~~~
BUILD ------> oscam-chk.c
BUILD ------> oscam-cache.c
BUILD ------> oscam-conf-mk.c
BUILD ------> oscam-client.c
BUILD ------> oscam-conf-chk.c
hier schon, siehe auch Screenshot #214.In der Logausgabe im Fenster stehen die Warnungen nicht mit drin.
default_use="USE_LIBCRYPTO USE_EXTRA";
extra_ld="-latomic";
Wir verwenden Cookies und ähnliche Technologien für die folgenden Zwecke:
Akzeptieren Sie Cookies und diese Technologien?
Wir verwenden Cookies und ähnliche Technologien für die folgenden Zwecke:
Akzeptieren Sie Cookies und diese Technologien?