Same thing on mingw 4.5.1
It's not harmful but this cleans it up and should be harmless also.
#undef popen
#define popen(a,b) _popen((a),(b))
#undef pclose
#define pclose(x) _pclose(x)
Michael D. Black
Senior Scientist
Advanced Analytics Directorate
Advanced GEOINT Solutions Operating Unit
Northrop Grumman Information Systems
From: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org] on
behalf of Baruch Burstein [bmburst...@gmail.com]
Sent: Tuesday, May 15, 2012 1:33 AM
To: General Discussion of SQLite Database
Subject: EXT :[sqlite] Compiler warnings with 3.7.12
I just compiled the the sqlite3 shell from the 3.7.12 amalgamation
download. I got the following warnings:
shell.c:71:0: warning: "popen" redefined [enabled by default]
In file included from shell.c:33:0:
[mingw
path]\bin\../lib/gcc/x86_64-w64-mingw32/4.7.0/../../../../x86_64-w64-mingw32/include/stdio.h:450:0:
note: this is the location of the previous definition
shell.c:72:0: warning: "pclose" redefined [enabled by default]
In file included from shell.c:33:0:
[mingw
path]\bin\../lib/gcc/x86_64-w64-mingw32/4.7.0/../../../../x86_64-w64-mingw32/include/stdio.h:451:0:
note: this is the location of the previous definition
I am using the MinGW_w64 compiler. Version 4.7.0 from RubenVB's stable
build, both running on and targeting x64 machines.
--
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning. - Rich Cook
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users