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

  • From: <tpgww@xxxxxxxxxxx>
  • To: emelfm2@xxxxxxxxxxxxx
  • Date: Tue, 7 Aug 2007 14:33:47 +1000

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.

Other related posts: