Thanks for clarifying!

Thomas

On Wed, Sep 26, 2018, 14:20 Baesken, Matthias <matthias.baes...@sap.com>
wrote:

> Hi Thomas, I think your understanding is correct :
>
> "#ifdef <undefined switch>"
>
> or
>
> "#if  defined(<undefined switch>)"
>
> Are ok while
>
> "#if <undefined switch>"
>
>  or
>
> "#elif <undefined switch>"
>
> Lead to the compile error on gcc with current warnings.
>
> Best regards, Matthias
>
>
> > >>
> > > This looks okay to me although I could imagine this issue coming back
> again
> > > with ongoing edits that add "ifdef __solaris" or similar.
> > >
> >
> > If I understand this problem correctly (and I might not) the problem
> > is with "#if <undefined switch>", not with "#ifdef <undefined
> > switch>".
> >
> > ..thomas
> >
> > > -Alan
>

Reply via email to