This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [RFA-v2] ARI fixes: Remove some sprintf calls


>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:

Joel> I'm wondering if there is any way to provoke an error if we ever
Joel> use sprintf again... I am asking because I know that it's easy to
Joel> ignore the ARI. I kind of remember not being able to do that, but
Joel> perhaps wrong memory. #poison, maybe?

If all uses are removed we could probably use #pragma GCC poison in
defs.h.

Tom


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