






















pragma warning( push )
#pragma warning( disable : 4774)
// Your function
#pragma warning( pop )
for clang
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wformat-nonliteral"
// your function
#pragma clang diagnostic pop


GNUC_ATTRIBUTE((format(printf, X, Y))) to your new functions instead of ignoring the warningsSendBroadcastLocalize and use str_format_v internally instead


























void *, unsigned char * and uint8_t * was mixed in various places for pointers to raw image data and the pointers ended up being cast to uint8_t * at some point anyway. Now only uint8_t * is used consistently, which improves type safety and readability. Casts to uint8_t * are now only necessary when using malloc or when reading data from a map.


1














(edited)























frfr




























1

































6bb97f0 Add 100 € funding by archimede67 for South Africa and DDNet.org - def-












2














GNUC_ATTRIBUTE((format(printf, X, Y))) to your new functions instead of ignoring the warnings 



CHttpRequest and instead of putting here raw urls i did a little hack to pass just an arguments to build the url

CHttpRequest ctor


CEditor::ShowFileDialogError function on how to pass varargs from one functions to str_format_v



const char * and used ...format(__printf__, 2, 4)... instead of 3 (forgor about this passing as well in ctor)