Skip to content

Commit

Permalink
fix: implicit conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
hyj1991 committed May 1, 2022
1 parent 41d4fd3 commit 5786302
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 24 deletions.
7 changes: 6 additions & 1 deletion binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,12 @@
"cflags_cc!": ["-fno-exceptions"],
"conditions": [
["OS == 'linux'", {
"cflags": ["-O2", "-std=c++14"],
"cflags": [
"-O2",
"-std=c++14",
"-Wno-sign-compare",
"-Wno-cast-function-type",
],
"defines": [
'XPROFILER_IPC_PATH="<!(node -p \"require(\'./package.json\').xctlIpcPath.unix\")"',
],
Expand Down
2 changes: 1 addition & 1 deletion src/logger.cc
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ static void Log(const LOG_LEVEL output_level, const char* type,

// time of day
char time_string_ms[64];
char time_string_ms_alinode[64];
char time_string_ms_alinode[128];
time_t tt = time(NULL);
struct tm* ptm = localtime(&tt);
strftime(time_string_ms, sizeof(time_string_ms), "%Y-%m-%d %H:%M:%S", ptm);
Expand Down
22 changes: 0 additions & 22 deletions src/platform/unix/core/linux/libcoredumper.sym

This file was deleted.

0 comments on commit 5786302

Please sign in to comment.