> I'm trying to clean out dead code, and came across several
> places that refer to a symbol GNUPMDRV
> For example:
>
> # ifdef GNUPMDRV
> DosBeep(444, 111);
> # endif
>
> But so far as I can see, this symbol will never be defined
> and therefore this is dead code.
>
> Am I missing something?
> In particular, is there some undocumented build procedure
> for OS2/PM that defines this symbol directly via a compiler
> command rather than in a source file?
>
> If not, then it can be removed from
> src/mouse.c - tested but never defined
> src/gpexecute.c - tested but never defined
> src/os2/gclient.c - defined but never used
This comes from ages when gpexecute.c (not .h) was #included by gclient.c
and gpltx11.c. Since the split into .h and .c, gpexecute.c cannot access
bSend2gp and thus the corresponding menu in PM GUI is not working. I'll
have a look how to fix it.
---
PM
|