Page 1 of 1

Bug in the header file of the latest Git snapshot

Posted: Sun Feb 08, 2015 9:07 pm
by Fifi
I've got this problem when trying to compile DDNet Client on Arch Linux:
xterm wrote:[1]:bam release                                          ~/ddnet-DDRace64:20:58
[1/2] #1 c++ src/engine/client/fetcher.cpp
src/engine/client/fetcher.cpp:62:45: error: no ‘long int CFetcher::HTTPResponse(const char*)’ member function declared in class ‘CFetcher’
long CFetcher::HTTPResponse(const char *pUrl)
^
bam: 'objs/engine/client/fetcher.o' error 256
bam: error: a build step failed
It is caused by a missing method declaration in the fetcher.h file. Adding this:

Code: Select all

long HTTPResponse(const char *pUrl);
after the declaration of QueueAdd method solves the problem.

I'm not sure where to post about it, so I'll just leave this here.

Re: Bug in the header file of the latest Git snapshot

Posted: Sun Feb 08, 2015 9:18 pm
by deen
Thanks, fixed.