Compiling 64 bit mode on Windows

Open discussion on QxOrm library

Compiling 64 bit mode on Windows

Postby torokze » Wed Aug 08, 2012 8:26 am

Hi,

I get a lot of warning when I compiling the QxOrm in 64 bit mode (latest version of Qt and QxOrm, any VS environment)

in QxCollection:

template <typename Key, typename Value>
inline long QxCollection<Key, Value>::count() const
{
return m_qxCollection.template get<0>().size();
}

causes warning C4267 (133 times) (long vs size_t)

Cheers
Zolee
torokze
 
Posts: 1
Joined: Wed Aug 08, 2012 8:15 am

Re: Compiling 64 bit mode on Windows

Postby qxorm » Wed Aug 08, 2012 12:01 pm

Hi,

I get a lot of warning when I compiling the QxOrm in 64 bit mode...

Yes, you're right !
I will fix all those warnings in 64bits mode in the next release...
Thx !
qxorm
Site Admin
 
Posts: 481
Joined: Mon Apr 12, 2010 7:45 am

Re: Compiling 64 bit mode on Windows

Postby qxorm » Tue Dec 11, 2012 1:33 pm

in QxCollection:

template <typename Key, typename Value>
inline long QxCollection<Key, Value>::count() const
{ return m_qxCollection.template get<0>().size(); }

causes warning C4267 (133 times) (long vs size_t)

Done, this warning has been fixed, you can test it with the following BETA version :
http://www.qxorm.com/version/QxOrm_1.2.5_BETA_04.zip
qxorm
Site Admin
 
Posts: 481
Joined: Mon Apr 12, 2010 7:45 am


Return to QxOrm - Open discussion

Who is online

Users browsing this forum: No registered users and 5 guests