Am Sun, 16 Mar 2014 17:22:48 +0100 schrieb Stéphane Letz <[email protected]>:
> This code was recently restructured a bit, but without trying it again on all > versions of LLVM…., please send the patch that fix it sfor you. Yes, I saw that, it was on March 5th (git blame is a useful tool :-) ). Attached are two patches that fix those two issues for me. In general, should I open a pull request on sf.net -- right now my (mostly minor) changes are in a private repo on bitbucket so I can sync more easily between my (borrowed) laptop and desktop -- or just keep on sending changes as patches? If the former, I could include these changes there. Greetings -- Marc Joliet -- "People who think they know everything really annoy those of us who know we don't" - Bjarne Stroustrup
diff --git a/compiler/generator/llvm_dsp_aux.cpp b/compiler/generator/llvm_dsp_aux.cpp index 20a241f..0ae404c 100644 --- a/compiler/generator/llvm_dsp_aux.cpp +++ b/compiler/generator/llvm_dsp_aux.cpp @@ -52,9 +52,13 @@ #include <llvm/Support/IRReader.h> #endif +/* The file llvm/Target/TargetData.h was renamed to llvm/DataLayout.h in LLVM + * 3.2, which itself appears to have been moved to llvm/IR/DataLayout.h in LLVM + * 3.3. + */ #if defined(LLVM_32) #include <llvm/DataLayout.h> -#else +#elif !defined(LLVM_33) && !defined(LLVM_34) #ifndef _WIN32 #include <llvm/Target/TargetData.h> #endif
diff --git a/compiler/generator/dsp_aux.cpp b/compiler/generator/dsp_aux.cpp index 24d584e..c9c96d0 100644 --- a/compiler/generator/dsp_aux.cpp +++ b/compiler/generator/dsp_aux.cpp @@ -20,6 +20,7 @@ ************************************************************************/ #include <stdio.h> +#include <stdlib.h> #include <list> #include <iostream> #include <fstream>
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech
_______________________________________________ Faudiostream-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/faudiostream-users
