hi guys,
it has been some time since i posted on this list with issues regarding the proper use
of 64 bit integers.
that issue was completely solved using inttypes.h and int64_t, also we use mysql and
we are able to store and retrieve 64 bit integers
however
the mysql function mysql_insert_id, needs 'long long' to properly return a 64 bit id as can be seen
in the header:
#ifndef _global_h
#if defined(NO_CLIENT_LONG_LONG)
typedef unsigned long my_ulonglong;
#elif defined (__WIN__)
typedef unsigned __int64 my_ulonglong;
#else
typedef unsigned long long my_ulonglong;
#endif
#endif
so, if i do NOT #define NO_CLIENT_LONG_LONG i get an compile error
stating that 'long long' is no ISO C++
what am i to do?
anyone familiar with this issue?
thanks in advance!
---
perry