2023-05-14 00:24:35 I assert: /ddnet-source/src/engine/server/register.cpp(517): curl version < 7.77.0 does not support registering via both IPv4 and IPv6, set `sv_register ipv6` or `sv_register ipv4`
Illegal instruction
curl -s https://master1.ddnet.org/ddnet/15/servers.json | jq . | grep ger2
Found non empty text container with index 681 with 6 quads 'Team 0'
DeleteTextContainer
is missingTeam %d
is also used in the scoreboard, but only with TextEx
Team %d
is also used in the scoreboard, but only with TextEx
os_version_str
is correct again? I'll work on a fix for the ASAN issue next.Found non empty text container with index 681 with 6 quads 'Team 0'
errornullptr
for int *pType
and int *pID
output parameters of GetItem
functions.
Use nullptr
instead of 0
.
fn main(x: i64) -> i64 {
let x = 2 + 3;
return x;
}
to
; ModuleID = 'simple.ed'
source_filename = "simple.ed"
define i64 @main(i64 %0) {
entry:
ret i32 5
}
x == x+1
returning true
?x == x+1
returning true
? Uint32 which; /**< The mouse instance id, or SDL_TOUCH_MOUSEID */
(edited) Uint32 which; /**< The mouse instance id, or SDL_TOUCH_MOUSEID */
(edited)#include <stdio.h>
#include <SDL.h>
#include <SDL_events.h>
int
main(void)
{
SDL_Event test_event;
SDL_Window *win;
SDL_Init(SDL_INIT_VIDEO);
win = SDL_CreateWindow("mouse test sdl",
SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED,
320, 160,
0
);
while (SDL_WaitEvent(&test_event)) {
switch (test_event.type) {
case SDL_MOUSEMOTION:
Uint32 w = test_event.motion.which;
printf("%" PRIu32 "\n", w);
break;
case SDL_QUIT:
exit(0);
default:
printf(":(\n");
break;
}
}
SDL_Quit();
}
I compiled it with this for what it's worth gcc -Wall -I/usr/include/SDL2 -lSDL2 sdlmouse.c -o sdlmousetest
#include <stdio.h>
#include <SDL.h>
#include <SDL_events.h>
int
main(void)
{
SDL_Event test_event;
SDL_Window *win;
SDL_Init(SDL_INIT_VIDEO);
win = SDL_CreateWindow("mouse test sdl",
SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED,
320, 160,
0
);
while (SDL_WaitEvent(&test_event)) {
switch (test_event.type) {
case SDL_MOUSEMOTION:
Uint32 w = test_event.motion.which;
printf("%" PRIu32 "\n", w);
break;
case SDL_QUIT:
exit(0);
default:
printf(":(\n");
break;
}
}
SDL_Quit();
}
I compiled it with this for what it's worth gcc -Wall -I/usr/include/SDL2 -lSDL2 sdlmouse.c -o sdlmousetest
local/lib32-sdl2 2.26.5-1
A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard
local/sdl12-compat 1.2.60-1
SDL 1.2 runtime compatibility library using SDL 2.0
local/sdl2 2.26.5-1
A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 2)
17 "types/brutal/maps/Intercepter.map"
3 "types/dummy/maps/Pace.map"
154 "types/moderate/maps/Sky Stone.map"
24 "types/moderate/maps/oco.map"
1 "types/solo/maps/GetSpeed2.map"