[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Anyone building Emacs trunk with MinGW w64 (32 bits)
From: |
rzl24ozi |
Subject: |
Re: Anyone building Emacs trunk with MinGW w64 (32 bits) |
Date: |
Wed, 27 Mar 2013 17:17:38 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) |
Sorry for late reply,
> editfns.c: In function 'format_time_string':
> editfns.c:1793:32: warning: pointer/integer type mismatch in conditional
> expression [enabled by default]
> editfns.c: In function 'Fdecode_time':
> editfns.c:1844:16: warning: assignment makes pointer from integer without a
> cast [enabled by default]
> editfns.c: In function 'Fcurrent_time_string':
> editfns.c:2011:6: warning: assignment makes pointer from integer without a
> cast [enabled by default]
>
> This sounds like the prototypes of gmtime and/or localtime are not
> visible to the compiler at this point. But how can that happen, when
> ms-w32.h, included by config.h, includes time.h which declares these 2
> functions?
I found that localtime is defined to sys_localtime in ms-w32.h.
Because time.h is included before this definition, prototype is not
changed to sys_localtime.
When I move "#include <time.h>" after "#define localtime sys_localtime",
it seems that these warnings disappear.
- Re: Anyone building Emacs trunk with MinGW w64 (32 bits), (continued)
- Re: Anyone building Emacs trunk with MinGW w64 (32 bits), rzl24ozi, 2013/03/26
- Re: Anyone building Emacs trunk with MinGW w64 (32 bits), rzl24ozi, 2013/03/26
- Re: Anyone building Emacs trunk with MinGW w64 (32 bits), Eli Zaretskii, 2013/03/26
- Re: Anyone building Emacs trunk with MinGW w64 (32 bits), rzl24ozi, 2013/03/26
- Re: Anyone building Emacs trunk with MinGW w64 (32 bits), Eli Zaretskii, 2013/03/26
- Re: Anyone building Emacs trunk with MinGW w64 (32 bits), Eli Zaretskii, 2013/03/26
- Re: Anyone building Emacs trunk with MinGW w64 (32 bits), rzl24ozi, 2013/03/26
- Re: Anyone building Emacs trunk with MinGW w64 (32 bits), Eli Zaretskii, 2013/03/26
- Re: Anyone building Emacs trunk with MinGW w64 (32 bits), Óscar Fuentes, 2013/03/26
- Re: Anyone building Emacs trunk with MinGW w64 (32 bits), Eli Zaretskii, 2013/03/26
- Re: Anyone building Emacs trunk with MinGW w64 (32 bits),
rzl24ozi <=
- Re: Anyone building Emacs trunk with MinGW w64 (32 bits), Eli Zaretskii, 2013/03/27
- Re: Anyone building Emacs trunk with MinGW w64 (32 bits), rzl24ozi, 2013/03/27
- Re: Anyone building Emacs trunk with MinGW w64 (32 bits), Eli Zaretskii, 2013/03/27
- Re: Anyone building Emacs trunk with MinGW w64 (32 bits), rzl24ozi, 2013/03/27
- Re: Anyone building Emacs trunk with MinGW w64 (32 bits), Eli Zaretskii, 2013/03/27
- Re: Anyone building Emacs trunk with MinGW w64 (32 bits), rzl24ozi, 2013/03/27
- Re: Anyone building Emacs trunk with MinGW w64 (32 bits), Eli Zaretskii, 2013/03/27
- Re: Anyone building Emacs trunk with MinGW w64 (32 bits), rzl24ozi, 2013/03/27
- Re: Anyone building Emacs trunk with MinGW w64 (32 bits), Eli Zaretskii, 2013/03/28
- using GnuTLS 3.x and certificate checks (was: Anyone building Emacs trunk with MinGW w64 (32 bits)), Ted Zlatanov, 2013/03/27