Displaying 11 results from an estimated 11 matches for "hasopt".
Did you mean:
has_opt
2019 Nov 17
2
Unable to parse command line more than once using llvm libraries?
...**argv) {
...
}
...to...
extern "C" int llcmain(int argc, char **argv) {
...
}
Now I am calling this function directly from my server code. This works fine for the first build, however any other builds fail in
CommandLine.cpp:1101
CommandLineParser::ParseCommandLineOptions
assert(hasOptions() && "No options specified!"); <--fails here
I'm trying to work out why this is breaking, I am assuming there is some global state left after processing that llc.cpp doesn't normally need to worry about?
Is there a way to reset this global state cleanly? I'm...
2005 Feb 01
2
Error on compiling oh323 0.6.5 on cvs stable asterisk
...args.h:274: error: virtual outside
class declaration
/root/Asterisk/h323/pwlib/include/ptlib/args.h:274: error: non-member
function
`PINDEX GetOptionCount(...)' cannot have `const' method qualifier
/root/Asterisk/h323/pwlib/include/ptlib/args.h:283: error: non-member
function
`BOOL HasOption(char)' cannot have `const' method qualifier
/root/Asterisk/h323/pwlib/include/ptlib/args.h:287: error: non-member
function
`BOOL HasOption(const char*)' cannot have `const' method qualifier
/root/Asterisk/h323/pwlib/include/ptlib/args.h:290: error: syntax error
before
`&...
2019 Nov 18
2
Unable to parse command line more than once using llvm libraries?
...cmain(int argc, char **argv) {
> ...
> }
>
>
> Now I am calling this function directly from my server code. This works fine for the first build, however any other builds fail in
>
> CommandLine.cpp:1101
>
> CommandLineParser::ParseCommandLineOptions
>
> assert(hasOptions() && "No options specified!"); <--fails here
>
>
> I'm trying to work out why this is breaking, I am assuming there is some global state left after processing that llc.cpp doesn't normally need to worry about?
>
> Is there a way to reset this globa...
2004 Aug 26
0
chan_oh323 build (resubmit w/ new title)
...or before `&' token
/root/pwlib/include/ptlib/args.h:274: virtual outside class declaration
/root/pwlib/include/ptlib/args.h:274: non-member function `PINDEX
GetOptionCount(...)' cannot have `const' method qualifier
/root/pwlib/include/ptlib/args.h:283: non-member function `BOOL
HasOption(char)
' cannot have `const' method qualifier
/root/pwlib/include/ptlib/args.h:287: non-member function `BOOL
HasOption(const
char*)' cannot have `const' method qualifier
/root/pwlib/include/ptlib/args.h:290: parse error before `&' token
/root/pwlib/include/ptlib/ar...
2004 Aug 26
1
chan_oh323: __use_ast_pthread_create_instead __ (was: chan_oh323 loading error)
...or before `&' token
/root/pwlib/include/ptlib/args.h:274: virtual outside class declaration
/root/pwlib/include/ptlib/args.h:274: non-member function `PINDEX
GetOptionCount(...)' cannot have `const' method qualifier
/root/pwlib/include/ptlib/args.h:283: non-member function `BOOL
HasOption(char)
' cannot have `const' method qualifier
/root/pwlib/include/ptlib/args.h:287: non-member function `BOOL
HasOption(const
char*)' cannot have `const' method qualifier
/root/pwlib/include/ptlib/args.h:290: parse error before `&' token
/root/pwlib/include/ptlib/ar...
2015 Jul 29
0
[LLVMdev] The Trouble with Triples
...nings in
>
> // use by the vendor.
>
> llvm::TargetTuple TT(GnuTriple);
> // Then mutate the TargetTuple according to the compiler options (or
> equivalent depending
>
> // on the tool, for example disassemblers would mutate it according to the
> object headers).
> if (hasOption("-EL"))
> TT.setLittleEndian()
>
> ...
>
> At this point, TT would be
> "+mipsel-unknown-linux-gnu-elf32-some-other-stuff" (exact serialization is
> t.b.d and may end up target dependent) which we can then rely on in the
> rest of LLVM. This split re...
2015 Jul 08
5
[LLVMdev] The Trouble with Triples
...etTuple according to the (possibly customized) meanings in
// use by the vendor.
llvm::TargetTuple TT(GnuTriple);
// Then mutate the TargetTuple according to the compiler options (or equivalent depending
// on the tool, for example disassemblers would mutate it according to the object headers).
if (hasOption("-EL"))
TT.setLittleEndian()
...
At this point, TT would be "+mipsel-unknown-linux-gnu-elf32-some-other-stuff" (exact serialization is t.b.d and may end up target dependent) which we can then rely on in the rest of LLVM. This split resolves the issue of llvm::Triple objects...
2015 Jul 30
3
[LLVMdev] The Trouble with Triples
...etTuple according to the (possibly customized) meanings in
// use by the vendor.
llvm::TargetTuple TT(GnuTriple);
// Then mutate the TargetTuple according to the compiler options (or equivalent depending
// on the tool, for example disassemblers would mutate it according to the object headers).
if (hasOption("-EL"))
TT.setLittleEndian()
...
At this point, TT would be "+mipsel-unknown-linux-gnu-elf32-some-other-stuff" (exact serialization is t.b.d and may end up target dependent) which we can then rely on in the rest of LLVM. This split resolves the issue of llvm::Triple objects...
2015 Jul 30
0
[LLVMdev] The Trouble with Triples
...mized)
> meanings in
> // use by the vendor.
> llvm::TargetTuple TT(GnuTriple);
> // Then mutate the TargetTuple according to the compiler options (or
> equivalent depending
> // on the tool, for example disassemblers would mutate it according to the
> object headers).
> if (hasOption("-EL"))
> TT.setLittleEndian()
> ...
> At this point, TT would be
> "+mipsel-unknown-linux-gnu-elf32-some-other-stuff" (exact serialization is
> t.b.d and may end up target dependent) which we can then rely on in the
> rest of LLVM. This split resolves the...
2015 Jul 31
2
[LLVMdev] The Trouble with Triples
...etTuple according to the (possibly customized) meanings in
// use by the vendor.
llvm::TargetTuple TT(GnuTriple);
// Then mutate the TargetTuple according to the compiler options (or equivalent depending
// on the tool, for example disassemblers would mutate it according to the object headers).
if (hasOption("-EL"))
TT.setLittleEndian()
...
At this point, TT would be "+mipsel-unknown-linux-gnu-elf32-some-other-stuff" (exact serialization is t.b.d and may end up target dependent) which we can then rely on in the rest of LLVM. This split resolves the issue of llvm::Triple objects...
2007 Apr 13
0
[954] branches/wxruby2/wxwidgets_282: Additions to Image API 2.6 -> 2.8, remove comment cruft
...class="cx">
</span><del>-If the given option is not present, the function returns $0$. Use
</del><ins>+If the given option is not present, the function returns $0$. Use
</ins><span class="cx"> "Image#has_option":image.html#Image_hasoption is $0$ is a possibly valid value
</span><span class="cx"> for the option.
</span><span class="cx">
</span><span class="lines">@@ -736,7 +795,7 @@
</span><span class="cx">
</span><span class="c...