Changeset e464759 for src/libcfa/libhdr


Ignore:
Timestamp:
Apr 27, 2017, 1:54:41 PM (8 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
0c78741
Parents:
075d862
Message:

Abortf is not a proper C linkage function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/libhdr/libtools.h

    r075d862 re464759  
    2222// } // libAbort
    2323
    24 #define abortf(...) abort();
    25 
     24#ifdef __cforall
     25extern "C" {
     26#endif
     27void abortf( const char fmt[], ... ) __attribute__ ((__nothrow__, __leaf__, __noreturn__));
     28#ifdef __cforall
     29}
     30#endif
    2631
    2732#endif //__LIB_TOOLS_H__
Note: See TracChangeset for help on using the changeset viewer.