¡@

Home 

c++ Programming Glossary: abi

Are function static variables thread-safe in GCC?

http://stackoverflow.com/questions/1270927/are-function-static-variables-thread-safe-in-gcc

emit the extra code to use the routines specified in the C ABI for thread safe initialization of local statics. You can use..

In C++, is it safe/portable to use static member function pointer for C API callbacks?

http://stackoverflow.com/questions/2068022/in-c-is-it-safe-portable-to-use-static-member-function-pointer-for-c-api-call

static member function pointer for C API callbacks Is the ABI of a static member function the same as a C function c callback.. problems trying to do so on some platforms. Make your C ABI callbacks extern C . Edit Adding some supporting quotes from..

What could C/C++ “lose” if they defined a standard ABI?

http://stackoverflow.com/questions/2083060/what-could-c-c-lose-if-they-defined-a-standard-abi

could C C &ldquo lose&rdquo if they defined a standard ABI The title says everything. I am talking about C C specifically.. things. What could C C lose if they defined a standard ABI c c standards abi share improve this question The freedom.. architectures than any other language. Abiding by a ABI optimized for the currently common high end general purpose..

g++: how to specify preference of library path?

http://stackoverflow.com/questions/2726993/g-how-to-specify-preference-of-library-path

sbin ldconfig p grep libpthread libpthread.so.0 libc6 OS ABI Linux 2.6.4 lib libpthread.so.0 And you can check which library..

How do exceptions work (behind the scenes) in c++

http://stackoverflow.com/questions/307610/how-do-exceptions-work-behind-the-scenes-in-c

What is __gxx_personality_v0 for?

http://stackoverflow.com/questions/329059/what-is-gxx-personality-v0-for

on that answer its use is defined by the Itanium C ABI where it is called the Personality Routine . The reason it works..

How can I use Standard Library (STL) classes in my dll interface or ABI?

http://stackoverflow.com/questions/5661738/how-can-i-use-standard-library-stl-classes-in-my-dll-interface-or-abi

I use Standard Library STL classes in my dll interface or ABI There have been a few questions before on exporting a class.. not a binary library like a DLL. It does not have a single ABI that is guaranteed to be the same wherever you might use it...

Understanding the vtable entries

http://stackoverflow.com/questions/5712808/understanding-the-vtable-entries

inheritence and typeinfo RTTI pointers. From the Itanium ABI you are not using the Itanium compiler but their description..

Visual Studio debug iterators

http://stackoverflow.com/questions/6103314/visual-studio-debug-iterators

both _SECURE_SCL and _HAS_ITERATOR_DEBUGGING affect the ABI _SECURE_SCL and _HAS_ITERATOR_DEBUGGING significantly change..

Why do we need extern “C”{ #include <foo.h> } in C++?

http://stackoverflow.com/questions/67894/why-do-we-need-extern-c-include-foo-h-in-c

the header file to be compiled to a certain format ”the C 'ABI' or 'Application Binary Interface' so the linker chokes up... expecting C data. To get into the really nitty gritty C 's ABI generally 'mangles' the names of their functions methods so..

Dual emission of constructor symbols

http://stackoverflow.com/questions/6921295/dual-emission-of-constructor-symbols

We'll start by declaring that GCC follows the Itanium C ABI . According to the ABI the mangled name for your Thing foo is.. that GCC follows the Itanium C ABI . According to the ABI the mangled name for your Thing foo is easily parsed _Z N 5Thing..

undefined reference to `__gxx_personality_sj0

http://stackoverflow.com/questions/7751640/undefined-reference-to-gxx-personality-sj0

short answer is that these sorts of problems are caused by ABI incompatibilities between different compilers and so occur when..

Creating Library with backward compatible ABI that uses Boost

http://stackoverflow.com/questions/836875/creating-library-with-backward-compatible-abi-that-uses-boost

Library with backward compatible ABI that uses Boost I'm working on certain C library or more framework.. versions preserving not only API compatibility but also ABI like the great job Qt does . I use lots of functionality of.. member was added so boost foo from 1.33 and 1.35 are not ABI compatible. So user of libXYZ must use Boost 1.33 or recompile..

Why can't clang with libc++ in c++0x mode link this boost::program_options example?

http://stackoverflow.com/questions/8454329/why-cant-clang-with-libc-in-c0x-mode-link-this-boostprogram-options-examp

11 language feature called inline namespace to change the ABI of std string without impacting the API of std string . That..

Array placement-new requires unspecified overhead in the buffer?

http://stackoverflow.com/questions/8720425/array-placement-new-requires-unspecified-overhead-in-the-buffer

platform. E.g. this is something specified by the Itanium ABI . If you don't know the answer to this question write your own..

why does pthread_exit throw something caught by ellipsis?

http://stackoverflow.com/questions/11452546/why-does-pthread-exit-throw-something-caught-by-ellipsis

be sure to re throw it so it can do its job try ... catch abi ___forced_unwind throw catch ... whatever The reason an exception.. idiom does more harm than good. It is sometimes used to stabilize code that is throwing unknown exceptions. But that only..

C++ iterate into nested struct field with boost fusion adapt_struct

http://stackoverflow.com/questions/12084781/c-iterate-into-nested-struct-field-with-boost-fusion-adapt-struct

T void operator T t const int status 0 const char realname abi __cxa_demangle typeid t .name 0 0 status printf typename s value..

Does the restrict keyword provide significant benefits in gcc / g++

http://stackoverflow.com/questions/1965487/does-the-restrict-keyword-provide-significant-benefits-in-gcc-g

root@beagleboard ~# gcc O3 mcpu cortex a8 mfpu neon mfloat abi softfp test.c root@beagleboard ~# time . a.out real 0m 7.64s.. root@beagleboard ~# gcc O3 mcpu cortex a8 mfpu neon mfloat abi softfp DUSE_RESTRICT test.c root@beagleboard ~# time . a.out..

How to test binary compatibility automatically?

http://stackoverflow.com/questions/1970296/how-to-test-binary-compatibility-automatically

What could C/C++ “lose” if they defined a standard ABI?

http://stackoverflow.com/questions/2083060/what-could-c-c-lose-if-they-defined-a-standard-abi

C C lose if they defined a standard ABI c c standards abi share improve this question The freedom to implement things..

Linux time sample based profiler

http://stackoverflow.com/questions/2449159/linux-time-sample-based-profiler

and see what happened. I changed the popen of c filt to abi __cxa_demangle . The runtime went from more than a minute to..

GCC ABI compatibility

http://stackoverflow.com/questions/2801938/gcc-abi-compatibility

the ways I can combine GCC versions c gcc compatibility abi share improve this question The official ABI page points..

Unmangling the result of std::type_info::name

http://stackoverflow.com/questions/281818/unmangling-the-result-of-stdtype-infoname

the accepted answer as of Sep 7 2013 when the call to abi __cxa_demangle is successful returns a pointer to a local stack.. array ... ouch Also note that if you provide a buffer abi __cxa_demangle assumes it to be allocated on the heap. Allocating.. __GNUG__ #include cstdlib #include memory #include cxxabi.h std string demangle const char name int status 4 some arbitrary..

Stack trace for C++ using gcc

http://stackoverflow.com/questions/4636456/stack-trace-for-c-using-gcc

mangled No line information 1st problem can be resolved by abi __cxa_demangle . However 2nd problem s more tough. I found replacement..

GCC vs MS C++ compiler for maintaining API backwards binary compatibility

http://stackoverflow.com/questions/4782714/gcc-vs-ms-c-compiler-for-maintaining-api-backwards-binary-compatibility

your help c visual c gcc backwards compatibility itanium abi share improve this question First of all these policies..

How expensive is RTTI?

http://stackoverflow.com/questions/579887/how-expensive-is-rtti

C ABI documented at http www.codesourcery.com public cxx abi abi.html . The names are horribly confusing the name refers.. ABI documented at http www.codesourcery.com public cxx abi abi.html . The names are horribly confusing the name refers to the.. new Itanium ABI refers to all versions available through fabi version the old ABI predated this versioning. GCC adopted the..

Creating Library with backward compatible ABI that uses Boost

http://stackoverflow.com/questions/836875/creating-library-with-backward-compatible-abi-that-uses-boost

supports namespace renaming. c unix boost compatibility abi share improve this question Basically just make sure the..

How to create the Cartesian product of a type list?

http://stackoverflow.com/questions/9122028/how-to-create-the-cartesian-product-of-a-type-list

so far #include iostream #include typeinfo #include cxxabi.h template typename... struct type_list template typename T1.. typedef cross_product int float short type result std cout abi __cxa_demangle typeid result .name 0 0 s std endl return 0 This.. leak #include iostream #include typeinfo #include cxxabi.h template typename... struct type_list template typename T1..

At as deep of a level as possible, how are virtual functions implemented?

http://stackoverflow.com/questions/99297/at-as-deep-of-a-level-as-possible-how-are-virtual-functions-implemented

call it. Anything that you would want to achieve with this ability that the language supports should be possible without access..