|
From: <mar...@mh...> - 2013-04-17 21:43:50
|
Holger Freyther writes: > Hi, > > today I used %llu instead of %u and had some runtime error. > GCC can warn about such issues but only if the format attribute > is used[1]. > > Could you please use this in future releases to catch errors > while compiling the code? > > thank you > holger > > > [1] http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html > Hi, could you please clarify with a code snippet (or better yet, a patch) what should be changed in the libdbi sources? Also, I take from [1] that this is a GNU extension of C. Would other compilers like LLVM complain about the suggested change? regards, Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38 |