When compiling latest SQLite (actually: fossil) with mingw, I get the warnings below. Here is my suggested fix (attached).
Regards, Jan Nijtmans ====================================== src/shell.c:68:15: warning: ‘_popen’ redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] #define popen _popen ^ src/shell.c:79:7: note: in expansion of macro ‘popen’ FILE *popen(const char*,const char*); ^ src/shell.c:70:16: warning: ‘_pclose’ redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] #define pclose _pclose ^ src/shell.c:80:5: note: in expansion of macro ‘pclose’ int pclose(FILE*); ^
_______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users