Skip to content

Instantly share code, notes, and snippets.

@stephenmathieson
Last active January 3, 2016 07:28
Show Gist options
  • Save stephenmathieson/8429146 to your computer and use it in GitHub Desktop.
Save stephenmathieson/8429146 to your computer and use it in GitHub Desktop.
$ gyp --depth=. --generator-output=output -f make -D "library=shared_library"
$ make -C output
CC(target) out/Release/obj.target/str-ends-with/deps/str-ends-with/str-ends-with.o
LIBTOOL-STATIC out/Release/libstr-ends-with.a
CC(target) out/Release/obj.target/sphia/src/clear.o
CC(target) out/Release/obj.target/sphia/src/count.o
CC(target) out/Release/obj.target/sphia/src/error.o
CC(target) out/Release/obj.target/sphia/src/free.o
CC(target) out/Release/obj.target/sphia/src/get.o
CC(target) out/Release/obj.target/sphia/src/new.o
CC(target) out/Release/obj.target/sphia/src/purge.o
CC(target) out/Release/obj.target/sphia/src/rm.o
CC(target) out/Release/obj.target/sphia/src/set.o
SOLINK(target) out/Release/libsphia.dylib
SOLINK(target) out/Release/libsphia.dylib: Finished
CC(target) out/Release/obj.target/sphia-test/test/clear.o
../test/clear.c:30:30: warning: multi-character character constant [-Wmultichar]
sphia_t *sphia = sphia_new(SPHIA_TEST_DB);
^
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^
../test/clear.c:30:30: warning: character constant too long for its type
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^
../test/clear.c:30:30: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *'
[-Wint-conversion]
sphia_t *sphia = sphia_new(SPHIA_TEST_DB);
^~~~~~~~~~~~~
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^~~~~~~~~~~~~~~~~~~~~~~
../include/sphia/new.h:23:24: note: passing argument to parameter here
sphia_new (const char *);
^
../test/clear.c:52:30: warning: multi-character character constant [-Wmultichar]
sphia_t *sphia = sphia_new(SPHIA_TEST_DB);
^
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^
../test/clear.c:52:30: warning: character constant too long for its type
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^
../test/clear.c:52:30: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *'
[-Wint-conversion]
sphia_t *sphia = sphia_new(SPHIA_TEST_DB);
^~~~~~~~~~~~~
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^~~~~~~~~~~~~~~~~~~~~~~
../include/sphia/new.h:23:24: note: passing argument to parameter here
sphia_new (const char *);
^
6 warnings generated.
CC(target) out/Release/obj.target/sphia-test/test/count.o
../test/count.c:33:30: warning: multi-character character constant [-Wmultichar]
sphia_t *sphia = sphia_new(SPHIA_TEST_DB);
^
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^
../test/count.c:33:30: warning: character constant too long for its type
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^
../test/count.c:33:30: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *'
[-Wint-conversion]
sphia_t *sphia = sphia_new(SPHIA_TEST_DB);
^~~~~~~~~~~~~
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^~~~~~~~~~~~~~~~~~~~~~~
../include/sphia/new.h:23:24: note: passing argument to parameter here
sphia_new (const char *);
^
3 warnings generated.
CC(target) out/Release/obj.target/sphia-test/test/error.o
../test/error.c:25:30: warning: multi-character character constant [-Wmultichar]
sphia_t *sphia = sphia_new(SPHIA_TEST_DB);
^
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^
../test/error.c:25:30: warning: character constant too long for its type
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^
../test/error.c:25:30: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *'
[-Wint-conversion]
sphia_t *sphia = sphia_new(SPHIA_TEST_DB);
^~~~~~~~~~~~~
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^~~~~~~~~~~~~~~~~~~~~~~
../include/sphia/new.h:23:24: note: passing argument to parameter here
sphia_new (const char *);
^
3 warnings generated.
CC(target) out/Release/obj.target/sphia-test/test/free.o
../test/free.c:35:30: warning: multi-character character constant [-Wmultichar]
sphia_t *sphia = sphia_new(SPHIA_TEST_DB);
^
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^
../test/free.c:35:30: warning: character constant too long for its type
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^
../test/free.c:35:30: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *'
[-Wint-conversion]
sphia_t *sphia = sphia_new(SPHIA_TEST_DB);
^~~~~~~~~~~~~
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^~~~~~~~~~~~~~~~~~~~~~~
../include/sphia/new.h:23:24: note: passing argument to parameter here
sphia_new (const char *);
^
3 warnings generated.
CC(target) out/Release/obj.target/sphia-test/test/get.o
../test/get.c:25:30: warning: multi-character character constant [-Wmultichar]
sphia_t *sphia = sphia_new(SPHIA_TEST_DB);
^
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^
../test/get.c:25:30: warning: character constant too long for its type
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^
../test/get.c:25:30: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *'
[-Wint-conversion]
sphia_t *sphia = sphia_new(SPHIA_TEST_DB);
^~~~~~~~~~~~~
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^~~~~~~~~~~~~~~~~~~~~~~
../include/sphia/new.h:23:24: note: passing argument to parameter here
sphia_new (const char *);
^
3 warnings generated.
CC(target) out/Release/obj.target/sphia-test/test/new.o
../test/new.c:26:30: warning: multi-character character constant [-Wmultichar]
sphia_t *sphia = sphia_new(SPHIA_TEST_DB);
^
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^
../test/new.c:26:30: warning: character constant too long for its type
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^
../test/new.c:26:30: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *'
[-Wint-conversion]
sphia_t *sphia = sphia_new(SPHIA_TEST_DB);
^~~~~~~~~~~~~
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^~~~~~~~~~~~~~~~~~~~~~~
../include/sphia/new.h:23:24: note: passing argument to parameter here
sphia_new (const char *);
^
../test/new.c:34:30: warning: multi-character character constant [-Wmultichar]
sphia_t *sphia = sphia_new(SPHIA_TEST_DB);
^
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^
../test/new.c:34:30: warning: character constant too long for its type
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^
../test/new.c:34:30: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *'
[-Wint-conversion]
sphia_t *sphia = sphia_new(SPHIA_TEST_DB);
^~~~~~~~~~~~~
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^~~~~~~~~~~~~~~~~~~~~~~
../include/sphia/new.h:23:24: note: passing argument to parameter here
sphia_new (const char *);
^
6 warnings generated.
CC(target) out/Release/obj.target/sphia-test/test/purge.o
../test/purge.c:24:25: warning: multi-character character constant [-Wmultichar]
sprintf(tmp, "%s/%s", SPHIA_TEST_DB, filename);
^
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^
/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
__builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
^
../test/purge.c:24:25: warning: character constant too long for its type
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^
/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
__builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
^
../test/purge.c:24:25: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
sprintf(tmp, "%s/%s", SPHIA_TEST_DB, filename);
~~ ^~~~~~~~~~~~~
%d
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
__builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
^
../test/purge.c:86:30: warning: multi-character character constant [-Wmultichar]
sphia_t *sphia = sphia_new(SPHIA_TEST_DB);
^
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^
../test/purge.c:86:30: warning: character constant too long for its type
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^
../test/purge.c:86:30: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *'
[-Wint-conversion]
sphia_t *sphia = sphia_new(SPHIA_TEST_DB);
^~~~~~~~~~~~~
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^~~~~~~~~~~~~~~~~~~~~~~
../include/sphia/new.h:23:24: note: passing argument to parameter here
sphia_new (const char *);
^
6 warnings generated.
CC(target) out/Release/obj.target/sphia-test/test/rm.o
../test/rm.c:27:30: warning: multi-character character constant [-Wmultichar]
sphia_t *sphia = sphia_new(SPHIA_TEST_DB);
^
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^
../test/rm.c:27:30: warning: character constant too long for its type
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^
../test/rm.c:27:30: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *'
[-Wint-conversion]
sphia_t *sphia = sphia_new(SPHIA_TEST_DB);
^~~~~~~~~~~~~
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^~~~~~~~~~~~~~~~~~~~~~~
../include/sphia/new.h:23:24: note: passing argument to parameter here
sphia_new (const char *);
^
../test/rm.c:39:30: warning: multi-character character constant [-Wmultichar]
sphia_t *sphia = sphia_new(SPHIA_TEST_DB);
^
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^
../test/rm.c:39:30: warning: character constant too long for its type
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^
../test/rm.c:39:30: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *'
[-Wint-conversion]
sphia_t *sphia = sphia_new(SPHIA_TEST_DB);
^~~~~~~~~~~~~
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^~~~~~~~~~~~~~~~~~~~~~~
../include/sphia/new.h:23:24: note: passing argument to parameter here
sphia_new (const char *);
^
6 warnings generated.
CC(target) out/Release/obj.target/sphia-test/test/set.o
../test/set.c:28:30: warning: multi-character character constant [-Wmultichar]
sphia_t *sphia = sphia_new(SPHIA_TEST_DB);
^
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^
../test/set.c:28:30: warning: character constant too long for its type
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^
../test/set.c:28:30: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *'
[-Wint-conversion]
sphia_t *sphia = sphia_new(SPHIA_TEST_DB);
^~~~~~~~~~~~~
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^~~~~~~~~~~~~~~~~~~~~~~
../include/sphia/new.h:23:24: note: passing argument to parameter here
sphia_new (const char *);
^
../test/set.c:44:30: warning: multi-character character constant [-Wmultichar]
sphia_t *sphia = sphia_new(SPHIA_TEST_DB);
^
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^
../test/set.c:44:30: warning: character constant too long for its type
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^
../test/set.c:44:30: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *'
[-Wint-conversion]
sphia_t *sphia = sphia_new(SPHIA_TEST_DB);
^~~~~~~~~~~~~
<command line>:2:23: note: expanded from here
#define SPHIA_TEST_DB '/tmp/libsphia-test-db'
^~~~~~~~~~~~~~~~~~~~~~~
../include/sphia/new.h:23:24: note: passing argument to parameter here
sphia_new (const char *);
^
6 warnings generated.
CC(target) out/Release/obj.target/sphia-test/test.o
LINK(target) out/Release/sphia-test
LINK(target) out/Release/sphia-test: Finished
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment