This is the mail archive of the
mailing list for the GCC project.
Re: zack's todo list
"Zack Weinberg" <zackw@Stanford.EDU> writes:
> Now where is it written that this requires that __func__ be separate
> from other objects?
static const char __func__ = "function-name";
specifically requests that a new object is created, in contrast to:
static const char * const __func__ = "function-name";
> static const char a = "blah";
> static const char b = "blah";
> - must a and b be different? The embedded people would surely like
> them to be merged.
If somebody wants to share the values, one should write:
static const char * const a = "blah";
static const char * const b = "blah";
Florian Weimer Florian.Weimer@RUS.Uni-Stuttgart.DE
University of Stuttgart http://cert.uni-stuttgart.de/
RUS-CERT +49-711-685-5973/fax +49-711-685-5898