Re: Statement expressions problem returning arrays.

2008-05-28 Thread Jamax
-Original Message- >From: Jamax <[EMAIL PROTECTED]> >Sent: May 28, 2008 12:07 PM >To: gcc@gcc.gnu.org >Subject: Statement expressions problem returning arrays. > >Hello. I have some complex statement-expressions that I am having trouble >with and this seemed like t

Statement expressions problem returning arrays.

2008-05-28 Thread Jamax
Hello. I have some complex statement-expressions that I am having trouble with and this seemed like the more technical mailing list. I have boiled them down to these small examples: #1: #define copyof(str) ({ char buf[sizeof(str)]; strcpy(buf, str); buf; }) int main(int argc, char **argv) {