Feature request (was: SIGBUS and NSLog)
Feature request (was: SIGBUS and NSLog)
- Subject: Feature request (was: SIGBUS and NSLog)
- From: Ondra Cada <email@hidden>
- Date: Tue, 22 Jan 2002 15:23:49 +0100
Christophe,
>
>>>>> Christophe Dore (CD) wrote at Mon, 21 Jan 2002 15:14:30 +0100:
CD> gcc control that kind of error with printf, fprintf, ... functions.
CD>
CD> Unfortunately, it has not been extended to NSLog
It could be quite easily (see the compiler documentation, "format"
attribute), but alas, without %@ recognition.
Now _THAT_ would be a great improvement! Anybody who can use the Apple
bugreporterthing (my ADC account does not work there, dunno why), might you
want to fill a feature request of extending the GCC "format" function
attribute to support a new archetype, which would recognize %@ (and to use it
for all those NSLog, stringWithFormat:, etc.)?
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc