History

compiling in emcc and linking in gcc, but emcc still gives mysterious linker error

Jack Atherton committed 7 years ago

Commit 4e4ce691 parent 028f3a623 files · +4214 −4206Browse files

Showing the changes to src/core/chuck_errmsg.cpp (1 of 23 files). Show all

Unified · Split

src/core/chuck_errmsg.cpp+4−4
@@ -38,7 +38,7 @@ · 37 unmodified lines
38#include <iostream>38#include <iostream>
39#include "chuck_utils.h"39#include "chuck_utils.h"
40#include "chuck_errmsg.h"40#include "chuck_errmsg.h"
41#include "util_thread.h"41//#include "util_thread.h"
42 42
43 43
44// global44// global
@@ -57,7 +57,7 @@ static size_t g_lasterrorIndex = strlen(g_lasterror); · 12 unmodified lines
57// log globals57// log globals
58t_CKINT g_loglevel = CK_LOG_CORE;58t_CKINT g_loglevel = CK_LOG_CORE;
59t_CKINT g_logstack = 0;59t_CKINT g_logstack = 0;
60XMutex g_logmutex;60//XMutex g_logmutex;
61 61
62// more local globals62// more local globals
63static const size_t g_buffer2_size = 1024;63static const size_t g_buffer2_size = 1024;
@@ -574,7 +574,7 @@ void EM_log( t_CKINT level, const char * message, ... ) · 510 unmodified lines
574 // check level574 // check level
575 if( level > g_loglevel ) return;575 if( level > g_loglevel ) return;
576 576
577 g_logmutex.acquire();577// g_logmutex.acquire();
578 CK_FPRINTF_STDERR( "[chuck]:" );578 CK_FPRINTF_STDERR( "[chuck]:" );
579 CK_FPRINTF_STDERR( "(%i:%s): ", level, g_str[level] );579 CK_FPRINTF_STDERR( "(%i:%s): ", level, g_str[level] );
580 580
@@ -588,7 +588,7 @@ void EM_log( t_CKINT level, const char * message, ... ) · 7 unmodified lines
588 588
589 CK_FPRINTF_STDERR( "\n" );589 CK_FPRINTF_STDERR( "\n" );
590 CK_FFLUSH_STDERR();590 CK_FFLUSH_STDERR();
591 g_logmutex.release();591// g_logmutex.release();
592}592}
593 593
594 594

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t