Changeset 6e33a2d


Ignore:
Timestamp:
May 5, 2020, 4:47:13 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
05cfa4d
Parents:
71c8b7e
Message:

Setting numeric locale to avoid complaints about memory leaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/startup.cfa

    r71c8b7e r6e33a2d  
    1414//
    1515
    16 #include <time.h>                                                                               // tzset
     16#include <time.h>                // tzset
     17#include <locale.h>        // setlocale
    1718#include "startup.hfa"
    1819
     
    2122    void __cfaabi_appready_startup( void ) {
    2223                tzset();                                                                                // initialize time global variables
     24                setlocale(LC_NUMERIC, "");
    2325                #ifdef __CFA_DEBUG__
    2426                extern void heapAppStart();
Note: See TracChangeset for help on using the changeset viewer.