-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hey Don...
Quote:
Second (probably really a core c++ question), I'm suddenly
getting this
ambiguous uint conflict with qt and mysqlpp::uint. What
gives? I'm not
using any uint's, the error is simply from the two includes.
If this is out of scope for this list please let me know.
Thanks,
Don |
It doesn't look like the conflict is between qt and mysqlpp:
Quote:
/usr/include/sys/types.h:153: error: first declared as `typedef
unsigned int uint' here |
And
Quote:
/usr/local/mysql++-1.7.31/lib/defs.h:27: error: also
declared as `typedef unsigned int mysqlpp::uint' here |
Specifically sys/types.h && defs.h, so most likely namespace
pollution. To test,
Instead of using "uint" in qkeysequence.h, try being specific:
mysqlpp::uint
And see if that alleviates the error. If so try taking some of your
namespace "using"
Statements out of the global namespace.
Dave
- -------------------------------------------
David Brooks
mailto:sallow (AT) twcny (DOT) rr.com
"Quidquid latine dictum sit, altum videtur"
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>
iQA/AwUBQkO3406myMoV5dC/EQJO1wCgpe1s2TcX0vSgcj2IWrOghR5sjTYAnR3t
KJ6gP4NtUvrm2rawZJoy7XGs
=OnZH
-----END PGP SIGNATURE-----
--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw