[cfe-dev] <premain>: CommandLine Error: Argument 'load' defined more than once!
Anton Smirnov
dev at antonsmirnov.name
Thu Oct 16 09:46:36 PDT 2014
Hi.
I've built few static libraries for the tools and use them in my demo app.
When i try to use clang driver via running cc1_main i'm getting an error:
*<premain>: CommandLine Error: Argument 'load' defined more than once!*
I've tried to comment cl::opt .. LoadOpt("load" .. and recompile
everything (LLVM, my static libs than use LLVM and the whole app) but it
did not help.
I've also found smth about "load" argument in Options.inc:
OPTION(prefix_1, "load", load, Separate, INVALID, INVALID, CC1Option |
NoDriverOption, 0,
"Load the named plugin (dynamic shared object)", "<dsopath>")
What does it mean?
How can i fix it? LLVM is somewhere between 3.3 and 3.4, release build with
RTTI on.
Regards, Anton.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20141016/baa24b0f/attachment.html>
More information about the cfe-dev
mailing list