Compiler warnings on fprintf
----------------------------
Key: TS-4
URL: https://issues.apache.org/jira/browse/TS-4
Project: Traffic Server
Issue Type: Improvement
Components: Build
Affects Versions: 2.0a
Reporter: Leif Hedstrom
Priority: Minor
Another kind of GCC 4.3.x warning (you guys are going to give me commit rights
rather than deal with this I'm sure ;-O )
Regression.cc: In function 'int rprintf(RegressionTest*, const char*, ...)':
Regression.cc:194: warning: format not a string literal and no format arguments
--- libinktomi++/Regression.cc (revision 831451)
+++ libinktomi++/Regression.cc (working copy)
@@ -190,7 +190,7 @@
va_start(ap, format);
l = ink_bvsprintf(buffer, format2, ap);
va_end(ap);
- fprintf(stderr, buffer);
+ fputs(buffer,stderr);
return (l);
}
Stephane Belmon <[email protected]>
Principal Software Engineer
Websense, inc.
Stephane: Are there other cases of this, or is this the only one ?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.