Re: vincent_trunk build error in windows: GStatBuf statbuf;

From: vincent <vincent.abiword_at_gmail.com>
Date: Mon Mar 05 2012 - 02:38:05 CET

Hi,
In my build environment,
Env: Windows XP
     Visual Studio 2008

> This
> #if GLIB_CHECK_VERSION(2,26,0) || defined(G_OS_WIN32)
>
> means GLIB > 2.26 OR Windows.
> (is it really 2.26?)
>
> What you are removing is the part that deal with non Windows.

My build env satisfy this condition 'defined(G_OS_WIN32)'
But not satisfy '#if GLIB_CHECK_VERSION(2,26,0)'

So 'defined(G_OS_WIN32)' is for windows? Right?

Vincent

On 3/5/12 9:26 AM, "Hub Figuière" <hfiguiere@teaser.fr> wrote:

>
> On 04/03/12 05:15 PM, vincent vincent wrote:
>>
>> Hi Hub,
>>
>> GStatBuf is undefined in all Windows. so I think we would be better to
>> remove 'defined(G_OS_WIN32)' in #if in the condition.
>>
>> #if GLIB_CHECK_VERSION(2,26,0) // it is working well for all windows
>> GStatBuf statbuf;
>> #else
>> struct stat statbuf;
>> #endif
>>
>>
>> Correct me if I have something wrong. thanks
>
> This
> #if GLIB_CHECK_VERSION(2,26,0) || defined(G_OS_WIN32)
>
> means GLIB > 2.26 OR Windows.
> (is it really 2.26?)
>
> What you are removing is the part that deal with non Windows.
>
> So...
>
>
> Hub
Received on Mon Mar 5 02:41:07 2012

This archive was generated by hypermail 2.1.8 : Mon Mar 05 2012 - 02:41:07 CET