[Thunar-dev] Experimental Thunar Trash tarball

Björn Martensen bjoern.martensen at gmail.com
Thu Jul 27 23:42:21 CEST 2006


Benedikt Meurer wrote:
> Rodrigo Coacci wrote:
>>> Post the relevant lines before the strptime declarations from time.h.
>> Here they are:
>>
>> # ifdef __USE_XOPEN
>> /* Parse S according to FORMAT and store binary time information in TP.
>>   The return value is a pointer to the first unparsed character in S.  */
>> extern char *strptime (__const char *__restrict __s,
>>               __const char *__restrict __fmt, struct tm *__tp)
>>     __THROW;
>> # endif
>>
>> I guess the correct define is USE_XOPEN?
> 
> Add
> 
> #define __USE_XOPEN
> 
> before
> 
> #include <time.h>
> 
> Benedikt
> _______________________________________________
> Thunar-dev mailing list
> Thunar-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/thunar-dev
> 

your latest changes in 22537 break building here again :/

> cc1: warnings being treated as errors
> tdb.c: In function 'tdb_write':
> tdb.c:398: warning: implicit declaration of function 'pwrite'
> tdb.c: In function 'tdb_read':
> tdb.c:421: warning: implicit declaration of function 'pread'
> make[2]: *** [tdb.lo] Error 1
> make[2]: Leaving directory `/home/baze/pkgs/thunar-svn/src/thunar/tdb'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/baze/pkgs/thunar-svn/src/thunar'
> make: *** [all] Error 2

Björn

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://mail.xfce.org/pipermail/thunar-dev/attachments/20060727/97b24461/attachment.pgp>


More information about the Thunar-dev mailing list