<!--
and -->
are for single-line comments in JS<!-- console.log("abc");
console.log("def");
--> console.log("ghi");
prints just def
<!-- console.log("abc");
console.log("def");
--> console.log("ghi");
prints just def
PAD SPACE
. This means that all CHAR
, VARCHAR
, and TEXT
values are compared without regard to any trailing spaces. โComparisonโ in this context does not include the LIKE
pattern-matching operator, for which trailing spaces are significant.(gdb) frame
#0 0x000055b195b811a1 in on_change_systray (obj=0x55b195bcc940 <systray>) at /home/tim/Downloads/tint2/src/systray/systraybar.c:298
298 GSList *list = g_slist_copy(systray.list_icons);
(gdb) print systray.list_icons
$5 = 0x55b19749d2a0 = {0x55b19736f250, 0x55b19730ab50, 0x55b197441ff0, 0x55b197370a40}
(gdb)
x/i $rip
pls(gdb) x/i $rip
=> 0x55b195b811a1 <on_change_systray+658>: mov (%rax),%rax
/i
interprets it as instruction, $rip
is instruction pointer (edited)FAILED: release/ddnet_engine_shared.lib C:/Users/source/repos/ddnet/out/build/x64-Release/release/ddnet_engine_shared.lib
(edited)[12/133] Generating release/ddnet_engine_shared.lib
seems to have worked, so i dont knowConsolidate compiler generated dependencies of target steam_api
[ 0%] Built target steam_api
Consolidate compiler generated dependencies of target md5
[ 1%] Built target md5
[ 2%] Building CXX object CMakeFiles/engine-gfx.dir/src/engine/gfx/image_loader.cpp.obj
In file included from F:\KeClient\src\engine\gfx\image_loader.cpp:3:0:
F:/KeClient/src/base/system.h:2747:13: error: specialization of 'template<class _Tp> struct std::hash' in different namespace [-fpermissive]
struct std::hash<NETADDR>
^~~~~~~~~~~~~
In file included from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\stl_bvector.h:1262:0,
from c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\vector:65,
from F:\KeClient\src\engine\gfx\image_loader.h:6,
from F:\KeClient\src\engine\gfx\image_loader.cpp:1:
c:\mingw\lib\gcc\mingw32\6.3.0\include\c++\bits\functional_hash.h:58:12: error: from definition of 'template<class _Tp> struct std::hash' [-fpermissive]
struct hash;
^~~~
cc1plus.exe: warning: unrecognized command line option '-Wno-nullability-completeness'
mingw32-make[2]: *** [CMakeFiles\engine-gfx.dir\build.make:76: CMakeFiles/engine-gfx.dir/src/engine/gfx/image_loader.cpp.obj] Error 1
mingw32-make[1]: *** [CMakeFiles\Makefile2:383: CMakeFiles/engine-gfx.dir/all] Error 2
mingw32-make: *** [Makefile:155: all] Error 2
* The terminal process "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command mingw32-make" terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.
m_X
, m_Y
, m_W
and m_H
CUIRect
is pretty much the same as it has always beenCUIRect
is pretty much the same as it has always been CUIRect
wasn't able to draw on its own beforeCUIRect
wasn't able to draw on its own before /i
interprets it as instruction, $rip
is instruction pointer (edited)p $_siginfo._sifields._sigfault.si_addr
(void *) 0x0
but you never know (gdb) frame
#0 0x000055b195b811a1 in on_change_systray (obj=0x55b195bcc940 <systray>) at /home/tim/Downloads/tint2/src/systray/systraybar.c:298
298 GSList *list = g_slist_copy(systray.list_icons);
(gdb) print systray.list_icons
$3 = 0x55b19749d2a0 = {0x55b19736f250, 0x55b19730ab50, 0x55b197441ff0, 0x55b197370a40}
It's not null as you can seethis
pointer, this is C not C++this
is C++, not C :pthis
that can't be the problem because I'm working with Ctraywin = (TrayWindow *)l->data;
(which makes sense, 0 deref) and maybe my fix worked after all but somehow the old binary is backfetch("https://ddnet.org/players/?json2=UnlucksMcGee")
Although this one does not:
fetch("https://ddnet.org/releases/maps.json")
(edited)fetch("https://ddnet.org/players/?json2=UnlucksMcGee")
Although this one does not:
fetch("https://ddnet.org/releases/maps.json")
(edited)#ifdef
above to see what it's supposed to do when discord support is compiled infetch("https://ddnet.org/players/?json2=UnlucksMcGee")
Although this one does not:
fetch("https://ddnet.org/releases/maps.json")
(edited)