I had to #include "util.h" from irc.cpp for strprintf() to be declared in that file.
FTBFS: strprintf not defined in irc.cpp #638
issue thisisnotmyrealemail opened this issue on November 16, 2011-
thisisnotmyrealemail commented at 7:31 AM on November 16, 2011: none
-
gavinandresen commented at 2:31 PM on November 16, 2011: contributor
Looking at git head:
irc.cpp includes headers.h headers.h includes util.h
- gavinandresen closed this on Nov 16, 2011
-
thisisnotmyrealemail commented at 10:46 AM on November 24, 2011: none
My copy, which was pulled from git minutes before I filed this report, also has irc.cpp -> headers.h -> util.h, but strprintf nonetheless failed to be in scope unless I #included util.h directly from irc.cpp. This happened on Debian Lenny.
- ptschip referenced this in commit 0a592b9a7d on Jun 3, 2017
- kallewoof referenced this in commit 4858d36163 on Oct 4, 2019
- DrahtBot locked this on Sep 8, 2021
Contributors