# flag used with printf warning
# flag used with printf warning
- Subject: # flag used with printf warning
- From: Ricky Sharp <email@hidden>
- Date: Mon, 26 Apr 2004 16:25:37 -0500
I have several sprintf statments in the form:
sprintf( someNullTerminatedString, "some message %#s",
someLengthPrefixedString );
I get the following warning when compiling (this is a Carbon app):
'#' flag used with '%s' printf format
Is this just a warning that the code is less portable? Or, is it the
case where this is deprecated and should be avoided?
Thanks,
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Founder & President
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.