> The right way is to put an appropriate -D in the right place in
> a CPPFLAGS definition in some Makefile or other - I tried to do
> it that way, but obviously not correctly, as the build didn't
> add the -D to the compile line - when I start looking at modern
> Makefiles my eyes just glaze over at the absurdity of the whole
> system as it is now (makefiles used to be a nice simple declarative
> specification of what depended on what, and how to build things,
> they have turned into a truly baroque and horrid programming language
> instead ... but that rant is off topic here.)
> 
> So, what it needs is for someone to work out how to pass -D_LIBC_INTERNAL
> to the tools libcompat build, and fix things properly.

Why not just change the order?


This:

void MD2Update() {
  MD2Transform();
}
void MD2Transform() {
}

doesn't compile.


This:

void MD2Transform() {
}
void MD2Update() {
  MD2Transform();
}

compiles fine.

Simple and elegant. No hacks involved.


Kind regards,
Adam

Reply via email to