Bug#702417: Not a bug
severity 702417 minor thanks Hi, from my point of view, it is not a bug either. At least not a serious one. mysql_version.h is shipped in libmysqlclient-dev package, which is in Depends of libmysql++-dev. You just need to compile your test example as Prach advised, or just add a path: g++ test.cpp -o test -I/usr/include/mysql/ Cheers, Anton -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#702417: Not a bug
This is a bug against the *libmysql++-dev* package headers, not the libmysqlclient-dev headers. Yes I could add undocumented flags, or explicit paths to the internal files of *another* library. I could also use that other libraries API directly, or write my own wrapper API. That would work as well. Fact of the matter was that I wanted to make use of the packaged C++ bindings without having to bother bothering anything about the C library. The problem is that hacks are needed *at all* to simply compile against the header. The mysql++.h header needs to make proper use of its dependency in the form that dependency gets installed. Otherwise it is effectively unusable for many developers who are unable or unwilling to spend the time digging through the system headers for the hack that will make it build. Amos -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org