Commit 506fad56 authored by Yoni Fogel's avatar Yoni Fogel

Addresses #293 Addresses #307

A compiler directive to make compilation sweeter

git-svn-id: file:///svn/tokudb@2104 c7de825b-a66e-492c-adef-691d508d4ae1
parent 7a29120f
...@@ -165,7 +165,8 @@ class DbEnv { ...@@ -165,7 +165,8 @@ class DbEnv {
int txn_begin(DbTxn *, DbTxn **, u_int32_t); int txn_begin(DbTxn *, DbTxn **, u_int32_t);
int set_data_dir(const char *dir); int set_data_dir(const char *dir);
void set_errpfx(const char *errpfx); void set_errpfx(const char *errpfx);
void err(int error, const char *fmt, ...); void err(int error, const char *fmt, ...)
__attribute__((__format__(__printf__, 3, 4)));
void set_errfile(FILE *errfile); void set_errfile(FILE *errfile);
void set_errcall(void (*)(const DbEnv *, const char *, const char *)); void set_errcall(void (*)(const DbEnv *, const char *, const char *));
void set_error_stream(std::ostream *); void set_error_stream(std::ostream *);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment