• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
64 bit (again)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

64 bit (again)


  • Subject: 64 bit (again)
  • From: email@hidden
  • Date: Thu, 20 Aug 2009 20:49:14 +0200

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


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Adding existing svn files to new project
  • Next by Date: Re: valgrind-3.5.0 is available (Mac OS X support)
  • Previous by thread: Re: Adding existing svn files to new project
  • Next by thread: Replacement for CW Re-search for files
  • Index(es):
    • Date
    • Thread