Fixes
This commit is contained in:
parent
2adb1a491d
commit
24bbfed64d
|
@ -18,7 +18,7 @@ if BUILD_WITH_BTREE
|
||||||
AM_CPPFLAGSBTREE = -DBUILD_WITH_BTREE -std=c++11
|
AM_CPPFLAGSBTREE = -DBUILD_WITH_BTREE -std=c++11
|
||||||
endif
|
endif
|
||||||
|
|
||||||
AM_CPPFLAGS = $(AM_CPPFLAGSBTREE) $(AM_CPPFLAGSINVALID)
|
AM_CPPFLAGS = $(AM_CPPFLAGSBTREE) $(AM_CPPFLAGSINVALID) -std=c++11
|
||||||
|
|
||||||
libpipecolors_la_LDFLAGS = -module \
|
libpipecolors_la_LDFLAGS = -module \
|
||||||
-release ${PIPECOLORS_VERSION}
|
-release ${PIPECOLORS_VERSION}
|
||||||
|
|
|
@ -89,6 +89,8 @@ AM_CONDITIONAL([BUILD_WITH_BTREE], [test "x$enable_btree" = "xyes"])
|
||||||
|
|
||||||
if test "x$enable_btree" == "xyes"; then
|
if test "x$enable_btree" == "xyes"; then
|
||||||
|
|
||||||
|
AC_CHECK_CXX_ARGUMENT([-std=c++11])
|
||||||
|
|
||||||
AC_CHECK_TOOL([MERCURIAL], [hg], [no])
|
AC_CHECK_TOOL([MERCURIAL], [hg], [no])
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ int main(void) {
|
||||||
int num = 5;
|
int num = 5;
|
||||||
const char* str = "My number is";
|
const char* str = "My number is";
|
||||||
const char* str2 = "|10My number is|07";
|
const char* str2 = "|10My number is|07";
|
||||||
int len = pcprintf("|01%s |41|09%d|39\n", str, num);
|
int len = pcprintf("|01%s |09%d|39\n", str, num);
|
||||||
pcprintf("|10Length of Len is : |15|30%d\n|07", len);
|
pcprintf("|10Length of Len is : |15|30%d\n|07", len);
|
||||||
int len2 = pcsprintf(buffer, "%s %d\n", str2, num);
|
int len2 = pcsprintf(buffer, "%s %d\n", str2, num);
|
||||||
printf("\n%s %d\n", buffer, len2);
|
printf("\n%s %d\n", buffer, len2);
|
||||||
|
|
Loading…
Reference in New Issue