[LLVMdev] GlobalValue.h:116 error
Joseph Klumpp
jklumpp0 at gmail.com
Wed Oct 14 10:00:02 PDT 2009
I solved it by moving a project-specific include after the llvm includes.
I.e.,
From:
#include "ast.h"
#include "llvm/Module.h"
#include "llvm/Function.h"
#include "llvm/PassManager.h"
...
to:
#include "llvm/Module.h"
#include "llvm/Function.h"
#include "llvm/PassManager.h"
...
#include "ast.h"
I can't figure out why this gave me the particular error I was receiving,
but it solves the problem.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091014/062fe994/attachment.html>
More information about the llvm-dev
mailing list