Re: I cannot copy, move, rename, etc with the latest svn trunk.

My sys/stat.h must be different from yours, because st_size in the
stat struct is defined as __off_t.

Maarten.

On 8/7/07, tpgww@xxxxxxxxxxx <tpgww@xxxxxxxxxxx> wrote:
> On Mon, 6 Aug 2007 17:06:16 +0200
> "Maarten Maathuis" <madman2003@xxxxxxxxx> wrote:
>
> > Could anyone share their build options with me?
>
>
> From your original post on this ...
>
> compiling 'src/e2_filelist.c'
> src/e2_filelist.c: In function 'e2_filelist_fill_store':
> src/e2_filelist.c:649: warning: format '%llu' expects type 'long
> long unsigned int', but argument 4 has type '__off_t'
>
> and the code in question is ...
>
>   g_snprintf(size_buf, sizeof(size_buf), "%llu",
>         infoptr->statbuf.st_size);
>
> So, how, in your system, is a size_t from a statbuf getting to look like a 
> __off_t ?
>
> The default compiler flags supplied by the e2 Makefile are
>
>  -O2 -Wall -DENABLE_NLS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
> -D_REENTRANT
>
> or, with debugging enabled
>
>  -g -O0 -Wall -DENABLE_NLS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
> -D_REENTRANT
>
> If you explicitly specify CFLAGS, the flags up to and including the -Wall 
> will be replaced by whatever you choose.
>
> Regards
> Tom
>
>
> --
> Users can unsubscribe from the list by sending email to 
> emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by 
> logging into the web interface.
>


-- 
Users can unsubscribe from the list by sending email to 
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by 
logging into the web interface.

Other related posts: