Guild icon
Teeworlds
IRC / bridge
One-way IRC channel bridge. If you want to be able to send messages to IRC, contact @Dune or @heinrich5991. https://www.teeworlds.com/?page=docs&wiki=rules/irc_rules
Between 2021-10-02 00:00:00Z and 2021-10-03 00:00:00Z
Avatar
chillerdragon BOT 2021-10-02 11:20:21Z
A retro multiplayer shooter. Contribute to teeworlds/teeworlds development by creating an account on GitHub.
11:20
image.png
11:20
vscode does not even highlight template
11:21
/Users/runner/work/teeworlds/teeworlds/src/engine/shared/netban.cpp:625:89: error: expected ')' template int CNetBan::Ban<CNetBan::CBanPool<NETADDR, 1>>(CNetBan::CBanPool<NETADDR, 1> *pBanPool, const NETADDR *pData, int Seconds, const char *pReason); ^after reordering some includes i get this error and i am not sure what could cause it
Avatar
[quakenet] minus BOT 2021-10-02 12:16:42Z
ChillerDragon: that generates implementations for those templates with the given types. you either need to do that for a few known types (and then can only use the template for those types; calling those functions with other types will compile but throw a linker error), or have the template function's body in the header.
Avatar
chillerdragon BOT 2021-10-02 13:01:08Z
ok i somewhat understood that but still have no idea how to fix the error ._. i just run clang-forma
Avatar
chillerdragon: it's just include reordering? try to isolate which include order change causes it
15:48
(includes are very much not commutative in C and C++, remember that they just include all the text from that file at the location of the #include)
Avatar
chillerdragon BOT 2021-10-02 19:12:24Z
i think thats all breaking changes clang-format does
19:13
its a bit tidous to bisect since linux works i dont have any windows and my mac does not build so i have to push pieces of the big clang format diff to the slow github ci
Avatar
well, you could try doing everything except the include reorder
19:24
if you think that's at fault
19:24
so you know whether your theory is true
Avatar
chillerdragon BOT 2021-10-02 19:25:04Z
right good idea
Exported 14 message(s)