This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/17328] strlen() of static const char* string not allowed by gcc at compile time
- From: "schwab at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Sep 2004 14:19:35 -0000
- Subject: [Bug c/17328] strlen() of static const char* string not allowed by gcc at compile time
- References: <20040905135507.17328.smsti@ashtray.jz.gts.cz>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From schwab at suse dot de 2004-09-05 14:19 -------
You can't do that in C.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17328