This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Use "%I64d" on Windows


On Tue, Nov 23, 2004 at 08:35:00PM -0800, Mark Mitchell wrote:
> 
> The Windows C library uses "%I64d", not "%lld", to print arguments of
> type "long long".
> 
> GCC will complain that this is an unknown printf-format on Windows;
> the fix will be to use the machinery added for Solaris 10 to handle
> the various Windows-specific formats.

Yeah, that's necessary, as e.g. for glibc %I64d means the same as
%64d, but using locale digits instead of 0..9.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]