This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix strftime build with GCC 8


29.06.2017 03:08 Paul Eggert <eggert@cs.ucla.edu> wrote:
>
>
> Rafal Luzynski wrote:
> > Wouldn't it expand to:
>
> Sure, but the problem occurs if the macro is used as an if statement's
> then-part. Your example involved an else-part.

OK, you are right.  Then-part rather than else-part and after
thinking a little more I've found the syntax error you were talking
about.  Sorry for this off-topic, late night is not the best moment
to think about C syntax.

Regards,

Rafal


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]