| Subject: | Re: Using STL without exceptions |
|---|---|
| From: | Paul Pluzhnikov <ppluzhnikov-nsp@xxxxxxxxx> |
| Date: | Sat, 05 Jul 2008 13:14:55 -0700 |
| Newsgroups: | gnu.gcc.help |
Andi <aanderegg@xxxxxxxxxxxxxxxxxxx> writes: > I want to build the application without using C++ exceptions. I use > STL collections vector, queue, deque but only the operations which > don't throw exceptions. That statement is likely incorrect: you are trying to use (probably indirectly) std::vector<int, std::allocator<int> >::_Xlen() which does throw. > What is missing? Do I need to rebuild some libraries? The code for vector<>::_Xlen() is in a header file; rebuilding libraries will not help. You need to look at the Dinkumware sources you are using -- there might be a macro to disable exceptions. Cheers, -- In order to understand recursion you must first understand recursion. Remove /-nsp/ for email. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: how to turn off parallel compilation (?), Paul Pluzhnikov |
|---|---|
| Next by Date: | Re: Accessing local variables from ELF file, Paul Pluzhnikov |
| Previous by Thread: | Re: Using STL without exceptions, Andi |
| Next by Thread: | Help with Sparsehash on Ubuntu 8.04 using Eclipse, veryhotsausage |
| Indexes: | [Date] [Thread] [Top] [All Lists] |