search for: boost_no_exceptions

Displaying 8 results from an estimated 8 matches for "boost_no_exceptions".

2011 May 16
1
[LLVMdev] Exception handling with the LLVM makefile system
...voiding error messages. However, I'm not really an expert on exception handling: the function just prints out an error message. boost::throw_exception allows handling exceptions just as when using the C++ builtin "throw" features. The selection of either method is done by defining BOOST_NO_EXCEPTIONS. I'd like to use the standard exceptions instead of making my own. Do you think that's possible? Is it possible (and correct) to turn on exception handling with LLVM? -- Pablo Barrio Dpto. Ing. Electrónica - E.T.S.I. Telecomunicación Despacho C-203 Avda. Complutense s/n, 28040 Madrid Tl...
2008 Dec 28
0
[LLVMdev] [Patch] Adding unit tests to LLVM
...nked 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 > run tests. > http://svn....
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
...d 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't be necessary to setup and run test...
2011 May 16
0
[LLVMdev] Exception handling with the LLVM makefile system
On 16.05.2011, at 08:44, Pablo Barrio wrote: > Hi all, > > I'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
2011 May 16
2
[LLVMdev] Exception handling with the LLVM makefile system
Hi all, I'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
2008 Dec 28
3
[LLVMdev] [Patch] Adding unit tests to LLVM
...ether. 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 run tests. > > > &gt...
2008 Dec 28
4
[LLVMdev] [Patch] Adding unit tests to LLVM
...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 a...