I'm having an issue where I'm adding some includes
#include <stdio.h>
#include <unordered_map>
#include <mysql.h>
Using this command to compile,
g++ -Wl,-Bsymbolic-functions -rdynamic -L/usr/lib/mysql -lmysqlclient -I/usr/include/mysql -DBIG_JOINS=1 -fno-strict-aliasing -DUNIV_LINUX -DUNIV_LINUX -I/usr/include/ -I/usr/include/c++/4.5/bits/ main.c -o program
When i remove the .h on MySQL and stdio it says that it cannot find them, yet it works find on the unordered_map. Wtf?
.hare usually C++ includes. Header files with a.hare usually C #includes<cstdio>.