char* help =
"Usage: foo [options]
-v verbose
-d debug
";
Code like the above should work. It is really convenient when editing this
code that you do not have to terminate your lines with cruft like \n\
Of course this is pure convenience, but I never heard any convincing
argument why this should not be possible. If some C standard forbids
it, then I think the standard is out of touch from user base and it
would be a really good idea to add gcc specific extension. I do not
mind if I have to turn the extension on with some -fmultiline-string-constant
flag - such flags are easy enough to add to Makefile.
--Sampo
--
Summary: Support for multiline string constant
Product: gcc
Version: 3.4.5
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: sampo at symlabs dot com
GCC build triplet: any
GCC host triplet: any
GCC target triplet: any
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27190