Hi Alex,
Even if it worked, it doesn't seem to be a good solution because there are so many definitions to go through. A
similar method I haven't tried is to add
__attribute__((unused)) to each typedef.
I added
#pragma warning(disable:4101) to the top of
init.cpp,
I thought that that was a MSVC++ statement only? So are you talking about a MS compile here? Of what, Litecoind or Bitcoind? Litecoin-qt or Bitcoin-qt?
but that didn't seem to work either.
Finally, I added -Wno-unused-local-typedefs to CFLAGS in makefile.mingw and QMAKE_CXXFLAGS_WARN_ON in bitcoin-qt.pro, and apparently that worked.
Aren't those gcc flags? So are you back in gcc here? BTW, makefile.release & bitcoin-qt.pro for which/what coin and version? I am compiling Bitcoind 0.8.6 (MS & gcc) & Bitcoin-qt 0.8.6 (gcc only) from one set of sources, and I have a Bitcoind 0.9.x (gcc & MS). Are you by any chance referring to bitcoin-qt 0.9.x in your bitcoin-qt.pro? We won't talk about Auroracoin maxcoin or YACoin here as that would muddy the waters even further
Not sure why I'm only getting these warnings (and two others -
"FD_SETSIZE" redefined and
include winsock2.h before windows.h). I used the boost config from the original post:
b2 --build-type=complete --with-chrono --with-filesystem --with-program_options --with-system --with-thread toolset=gcc variant=release link=static threading=multi runtime-link=static stage
By the way, Ron, great videos,
Thanks
I just built Litecoin-Qt last night in Visual Studio.
Are you mixing me up with Claire perhaps? I didn't show anything in MSVS for any Qt version
Makes a lot of things easier.
I'm no longer getting this
horrible crash when closing the wallet, although I wish I could learn to debug it at the assembly level like
this guy.
-Alex
I had luck (in MSVS that is) running in debug mode and single stepping up to an error. Of course if the code is crashing before main() (static initialization, etc.) or after shutdown (destructor cascades, etc.) it becomes tougher
Tell us about what version of which coin you are building with MSVS and which version of MSVS too! Mine are as in the videos, though I haven't shown the Bitcoind 086 & 09x yet, but soon
Having trouble integrating "protobuffer" into everything as I don't understand how the
paymentrequest.proto "begets"
"paymentrequest.pb.h if at all
Ron