This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/38769] Sometimes a percent sign is just a percent sign
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jan 2009 20:54:14 -0000
- Subject: [Bug c/38769] Sometimes a percent sign is just a percent sign
- References: <bug-38769-17163@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from jakub at gcc dot gnu dot org 2009-01-08 20:54 -------
What kind of escaping are you talking about?
"\%" is the same as "%" in gcc. If you want to print character %%, you should
write printf ("something %%\n");
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38769