Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2023-06-15 00:00:00Z and 2023-06-16 00:00:00Z
Avatar
46aaa18 A Chobo - ddnet-maps 177aa20 R Unbalanced 3, A run_Bunt - ddnet-maps
Avatar
ws-client BOT 2023-06-15 06:23:14Z
<ChillerDragon> ryo debian enjoyer
06:23
<ChillerDragon> uhm is this what u sent @Ryozuki it says POGGERS2 but is a car? xd
Avatar
ws-client BOT 2023-06-15 06:55:28Z
<Jupstar> yes
06:55
<Jupstar> he sent a flying car
06:56
<ChillerDragon> ok thank and weird xd
06:56
<ChillerDragon> jopsti u like the new emoji button?
06:56
<Jupstar> i like all the new features
06:56
<ChillerDragon> pog pog
06:56
<Jupstar> chillerdrags is typing
06:56
<Jupstar> so epic
06:56
<ChillerDragon> ikr
06:57
<Jupstar> legit discord alternative 😂
06:57
<ChillerDragon> whats discord?
06:57
<Jupstar> i dunno
Avatar
heinrich5991 BOT 2023-06-15 08:19:32Z
ChillerDragon: check IRC DMs
09:24
6a31b13 Add new settings - Zwelf 4231d2e better mediawiki escaping - Zwelf 01074ab Merge pull request #46 from Zwelf/pr-add-new-setting-better-escaping - def-
Avatar
vanilla 0.6 joins weren't recorded. Also after map change, for the existing players these Join chunks were missing. Just add these message for existing players now and add OnPlayerJoin in all code paths with clients connecting.

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] C...
Avatar
damn, i cant link a simple code with googletest...
15:25
i get a lof of undefined reference to gtest library...
15:27
gcc test.o a.o -o test /usr/local/lib/libgtest_main.a /usr/local/bin/ld: test.o: warning: relocation against `_ZSt4cerr' in read-only section `.text._ZN7testing8internal8GTestLog9GetStreamEv[_ZN7testing8internal8GTestLog9GetStreamEv]' /usr/local/bin/ld: /usr/local/lib/libgtest_main.a(gtest_main.cc.o): in function `main': /nobackup/srcs/googletest-release-1.11.0/build/../googletest/src/gtest_main.cc:51: undefined reference to `testing::InitGoogleTest(int*, char**)' /usr/local/bin/ld: /usr/local/lib/libgtest_main.a(gtest_main.cc.o): in function `RUN_ALL_TESTS()': /nobackup/srcs/googletest-release-1.11.0/build/../googletest/include/gtest/gtest.h:2490: undefined reference to `testing::UnitTest::GetInstance()' /usr/local/bin/ld: /nobackup/srcs/googletest-release-1.11.0/build/../googletest/include/gtest/gtest.h:2490: undefined reference to `testing::UnitTest::Run()' /usr/local/bin/ld: /usr/local/lib/libgtest_main.a(gtest_main.cc.o): in function `_GLOBAL__sub_I_main': /usr/include/c++/7/iostream:74: undefined reference to `std::ios_base::Init::Init()' /usr/local/bin/ld: /usr/include/c++/7/iostream:74: undefined reference to `std::ios_base::Init::~Init()' any idea?
15:28
stackoverflow is down 😢
Avatar
use g++ to link
15:31
@Chairn
Avatar
hmm, still lot of undefined reference
15:35
g++ -Wall -Wextra -g -c test.cpp -o test.o gcc -Wall -Wextra -g -c a.c -o a.o g++ test.o a.o -o test /usr/local/lib/libgtest_main.a /usr/local/bin/ld: /usr/local/lib/libgtest_main.a(gtest_main.cc.o): in function `main': /nobackup/srcs/googletest-release-1.11.0/build/../googletest/src/gtest_main.cc:51: undefined reference to `testing::InitGoogleTest(int*, char**)' /usr/local/bin/ld: /usr/local/lib/libgtest_main.a(gtest_main.cc.o): in function `RUN_ALL_TESTS()': /nobackup/srcs/googletest-release-1.11.0/build/../googletest/include/gtest/gtest.h:2490: undefined reference to `testing::UnitTest::GetInstance()' /usr/local/bin/ld: /nobackup/srcs/googletest-release-1.11.0/build/../googletest/include/gtest/gtest.h:2490: undefined reference to `testing::UnitTest::Run()' /usr/local/bin/ld: test.o: in function `first_test_Test::TestBody()': /home/ve257822/work/ater/px222/2022-2023/scratch/test.cpp:7: undefined reference to `testing::Message::Message()'
15:35
it's weird, it's the same gtest used for ddnet, and it compiles fine there
15:39
okay, weirdly enough, you need both gtest libs. This worked: g++ test.o a.o -o test /usr/local/lib/libgtest_main.a /usr/local/lib/libgtest.a -lrt -ldl -pthread
Avatar
you need to link the libgtest_main.a library if you don't provide a main function yourself
Avatar
See #6744 (https://github.com/ddnet/ddnet/actions/runs/5279884147/jobs/9551213013?pr=6744#step:21:22). It seems completely unrelated to the PR so it should be an issue on current master. ``` ==18536== Memcheck, a memory error detector ==18536== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==18536== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info ==18536== Command: ../DDNet clinputfifo\ client1.fifo;player_name\ client1;cl_download_skins\ 0;...
Avatar
Avatar
heinrich5991
you need to link the libgtest_main.a library if you don't provide a main function yourself
the documentation said to link with this one, not in addition with libgtest.a, kinda wrongly formulated
Avatar
I see
Avatar
AMD teases AI and strengthens datacentre portfolio with 128-core Bergamo and 1GB+ cache-equipped Genoa-X Epyc CPUs https://t.co/JPFdipXNF0
🤩 2
19:46
justatest
Avatar
@Ryozuki have u u seen intel rename their cpus?
20:03
ULTRA INTEL
Exported 42 message(s)