search for: throw_exception

Displaying 10 results from an estimated 10 matches for "throw_exception".

Did you mean: threw_exception
2011 May 16
1
[LLVMdev] Exception handling with the LLVM makefile system
...ome functions that use >> Boost::Exception into my LLVM-based application. As far as I know, LLVM >> turns off Exception handling (apparently for performance reasons), so I >> get the following link-time error in a few places: >> >> "undefined reference to `boost::throw_exception(std::exception const&)" >> >> When I compile the external code from outside the LLVM Makefile system, >> everything goes well. Is it possible to enable exception handling for >> some parts of the compilation? Just like turning on RTTI with >> "REQUIRES_RT...
2011 May 16
2
[LLVMdev] Exception handling with the LLVM makefile system
...9;m having trouble when trying to reuse some functions that use Boost::Exception into my LLVM-based application. As far as I know, LLVM turns off Exception handling (apparently for performance reasons), so I get the following link-time error in a few places: "undefined reference to `boost::throw_exception(std::exception const&)" When I compile the external code from outside the LLVM Makefile system, everything goes well. Is it possible to enable exception handling for some parts of the compilation? Just like turning on RTTI with "REQUIRES_RTTI=1" ? Removing exception handling...
2011 May 16
0
[LLVMdev] Exception handling with the LLVM makefile system
...rying to reuse some functions that use > Boost::Exception into my LLVM-based application. As far as I know, LLVM > turns off Exception handling (apparently for performance reasons), so I > get the following link-time error in a few places: > > "undefined reference to `boost::throw_exception(std::exception const&)" > > When I compile the external code from outside the LLVM Makefile system, > everything goes well. Is it possible to enable exception handling for > some parts of the compilation? Just like turning on RTTI with > "REQUIRES_RTTI=1" ? Rem...
2008 Dec 28
0
[LLVMdev] [Patch] Adding unit tests to LLVM
...with, and the results are linked together. At the best case, it > would complicate our build system to be able to support different > set of flags for building LLVM libraries vs. Boost.Test (and the > rest of Boost that we import). http://www.boost.org/doc/libs/1_37_0/libs/utility/throw_exception.html #define BOOST_NO_EXCEPTIONS > > Sample usage of Boost.Test: http://svn.boost.org/svn/boost/trunk/libs/test/example/unit_test_example_12.cpp > Note the code at the end setting up the test suite -- this is > boilerplate code that I think shouldn't be necessary to setup and &...
2008 Dec 28
5
[LLVMdev] [Patch] Adding unit tests to LLVM
2008/12/27 Mark Kromis <greybird at mac.com> > Just a curiosity question, why push for gtest vs Boost Test or > a different test suite? > I normally use Boost, and their test suite, so I'm more familiar with that. > So I was wondering is one better then the other, or is it just that someone > makes a patch for it? > I looked more into Boost.Test to see what's in
2008 Dec 28
1
[LLVMdev] [Patch] Adding unit tests to LLVM
...th, and the results are > linked together. At the best case, it would complicate our build system to > be able to support different set of flags for building LLVM libraries vs. > Boost.Test (and the rest of Boost that we import). > > http://www.boost.org/doc/libs/1_37_0/libs/utility/throw_exception.html > #define BOOST_NO_EXCEPTIONS > Thanks for the pointer. > Sample usage of Boost.Test: > http://svn.boost.org/svn/boost/trunk/libs/test/example/unit_test_example_12.cpp > Note the code at the end setting up the test suite -- this is boilerplate > code that I think shouldn...
2016 Feb 05
7
[PATCH 0/7] lib: Stop exporting the safe_malloc, etc. functions.
The safe_malloc (etc) functions call g->abort_fn on failure. That's not appropriate for language bindings, and we never intended that these internal functions be used from language bindings, that was just a historical accident. This patch series removes any external use of the safe_* functions. Rich.
2008 Dec 28
3
[LLVMdev] [Patch] Adding unit tests to LLVM
...nd the results are > linked together. At the best case, it would complicate our build system to > be able to support different set of flags for building LLVM libraries vs. > Boost.Test (and the rest of Boost that we import). > > > http://www.boost.org/doc/libs/1_37_0/libs/utility/throw_exception.html > #define BOOST_NO_EXCEPTIONS > > > Sample usage of Boost.Test: > http://svn.boost.org/svn/boost/trunk/libs/test/example/unit_test_example_12.cpp > Note the code at the end setting up the test suite -- this is boilerplate > code that I think shouldn't be necessary to s...
2008 Dec 28
4
[LLVMdev] [Patch] Adding unit tests to LLVM
...ults are linked together. At the best case, it >> would complicate our build system to be able to support different set >> of flags for building LLVM libraries vs. Boost.Test (and the rest of >> Boost that we import). > > http://www.boost.org/doc/libs/1_37_0/libs/utility/throw_exception.html > #define BOOST_NO_EXCEPTIONS > >> >> Sample usage of Boost.Test: >> http://svn.boost.org/svn/boost/trunk/libs/test/example/unit_test_example_12.cpp >> >> Note the code at the end setting up the test suite -- this is >> boilerplate code that I think...
2009 Aug 03
1
[PATCH 1/2] Convert all TABs-as-indentation to spaces.
...let cols = cols_of_struct typ in - generate_java_struct_list_return typ jtyp cols + let jtyp = java_name_of_struct typ in + let cols = cols_of_struct typ in + generate_java_struct_list_return typ jtyp cols | RHashtable _ -> - (* XXX *) - pr " throw_exception (env, \"%s: internal error: please let us know how to make a Java HashMap from JNI bindings!\");\n" name; - pr " return NULL;\n" + (* XXX *) + pr " throw_exception (env, \"%s: internal error: please let us know how to make a Java HashMap f...