Answer the question
In order to leave comments, you need to log in
C++ compilation error [util.h:134:51: error: 'va_list' was not declared] (Windows, Cygwin). What's wrong?
$ make -f makefile.unix USE_UPNP=-
/bin/sh ../share/genbuild.sh obj/build.h
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DUSE_IPV6 -DBOOST_SPIRIT_THREADSAFE -I/home/Vincent/Projects/TestCoin/src -I/home/Vincent/Projects/TestCoin/src/obj -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/checkpoints.d -o obj/checkpoints.o checkpoints.cpp
In file included from bignum.h:13:0,
from main.h:9,
from checkpoints.cpp:11:
util.h:134:51: ошибка: «va_list» не был декларирован
std::string vstrprintf(const std::string &format, va_list ap);
^
makefile.unix:138: ошибка выполнения рецепта для цели «obj/checkpoints.o»
make: *** [obj/checkpoints.o] Ошибка 1
Answer the question
In order to leave comments, you need to log in
The compiler doesn't know what type va_list is, either include a header where it's declared, or make a forward declaration of class va_list; if it is not a typedef and anyway you will have to do the inclusion in the cpp file
In general, how to assemble it for wine is written in the dock
https://github.com/PuffCoin/template/blob/master/I...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question