[sldev] Build errors(in XCode 2.5) with indra.y.h

Michael Miller 1337mail at gmail.com
Sun Sep 30 09:10:44 PDT 2007


I think a better question (might) be to check if #include
"indra.y.hpp" works on other versions of Mac OSX/Linux/Unix. If that
works, then we can keep the statement as-is, except for changing the
filename. Does that work for anyone else(please try it).

-- Mike

On 9/30/07, Argent Stonecutter <secret.argent at gmail.com> wrote:
> On 30-Sep-2007, at 10:12, Michael Miller wrote:
> > Well, in the derived sources folder, after the build is run, I can see
> > three files:
> >
> > 1. indra.l.cpp
> > 2. indra.y.cpp
> > 3. indra.y.hpp
>
> Looks like it needs Yet Another #ifdef...
>
> #if LL_WINDOWS
> #include "ytab.h"
> #else
> #include "indra.y.h"
> #endif
>
> Would become (since it's N-way):
>
> #if defined(LL_WINDOWS)
> # include "ytab.h"
> #elseif defined(something_else)
> # include "indra.y.hpp"
> #else
> # include "indra.y.h"
> #endif
>
> Since you're the one with the spotty cat, you should be able to fill
> in (something_else) and submit a patch.
>
> _______________________________________________
> Click here to unsubscribe or manage your list subscription:
> /index.html
>


More information about the SLDev mailing list