This is needed to compile the library as C++
Fix compilation with C++ #258
pull vinniefalco wants to merge 1 commits into bitcoin-core:master from vinniefalco:master changing 1 files +3 −3-
vinniefalco commented at 1:35 PM on June 18, 2015: contributor
-
Fix compilation with C++ e2a07c78a1
-
apoelstra commented at 3:54 PM on June 18, 2015: contributor
How do you compile as C++? Is this something we can get Travis to do?
-
sipa commented at 3:56 PM on June 18, 2015: contributor
Judging by earlier comments by Vinnie, I assume he is directly #include'ing the .c source inside another project's C++ source code.
-
vinniefalco commented at 4:01 PM on June 18, 2015: contributor
@sipa Right
-
apoelstra commented at 8:57 PM on June 29, 2015: contributor
ACK
-
gmaxwell commented at 9:01 PM on June 29, 2015: contributor
For testing you can override CC=g++ and bypass the compile test in configure. I don't have a way to do the test without patching right now but perhaps its possible. A CI build that does this would be nice, otherwise it'll just be periodic fixes.
- sipa merged this on Jul 14, 2015
- sipa closed this on Jul 14, 2015
- sipa referenced this in commit b0a60e6d33 on Jul 14, 2015
Contributors