[Thunar-dev] Experimental Thunar Trash tarball

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Wed Jul 26 01:48:56 CEST 2006


Stavros Giannouris wrote:
>>>Meh, glibc. Try to add
>>>
>>>#ifndef _XOPEN_SOURCE
>>>#define _XOPEN_SOURCE
>>>#endif
>>>
>>>in thunar-file.c right before the line
>>>
>>>#include <time.h>
>>>
>>
>>Ok, this fixed the problem.
> 
> 
> Didn't here. Build stopped with this error:
>  cc1: warnings being treated as errors
> thunar-file.c: In function ‘thunar_file_get_deletion_date’:
> thunar-file.c:1364: warning: implicit declaration of function ‘strptime’
> thunar-file.c:1364: warning: comparison between pointer and integer
> make[3]: *** [Thunar-thunar-file.o] Error 1
> make[3]: Leaving directory
> `/home/stavrosg/temp/Thunar-0.3.3svn-trashexp-r22526/thunar' make[2]:
> *** [all] Error 2 make[2]: Leaving directory
> `/home/stavrosg/temp/Thunar-0.3.3svn-trashexp-r22526/thunar' make[1]:
> *** [all-recursive] Error 1 make[1]: Leaving directory
> `/home/stavrosg/temp/Thunar-0.3.3svn-trashexp-r22526' make: *** [all]
> Error 2 [stavrosg at gondolin Thunar-0.3.3svn-trashexp-r22526]$ grep
> strptime /usr/include/time.h extern char *strptime (__const char
> *__restrict __s, extern char *strptime_l (__const char *__restrict __s,

Post the relevant lines before the strptime declarations from time.h.

Benedikt



More information about the Thunar-dev mailing list