[pcre-dev] [Bug 707] Patch: incorrect printf flags, comparin…

Página Principal
Apagar esta mensagem
Autor: Philip Hazel
Data:  
Para: pcre-dev
Assunto: [pcre-dev] [Bug 707] Patch: incorrect printf flags, comparing string literals
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=707




--- Comment #2 from Philip Hazel <ph10@???> 2008-05-14 09:56:33 ---
I don't understand the second patch. What is %td? It isn't something that is in
the C90 standard. Is it a gcc thing? If so, I can't use it because PCRE is
compiled with many different compilers. I suppose it should be possible to
write some kind of "configure" test to check whether %td is supported, but I am
not experienced in that kind of thing.

Would an alternative approach be to cast the data value to (int) ? That would
be standard.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email