[Harbour] #if defined() problem?

Szakáts Viktor harbour.01 at syenar.hu
Sun Oct 26 04:34:59 EDT 2008


Hi folks,

In latest Harbour (Darwin build):
---
#define DEF_A
#define DEF_B
#if defined( DEF_A ) && ! defined( DEF_B )
#error DEF_A AND NOT DEF_B
#endif
---

This would incorrectly (unless I'm missing
something obvious) print:
DEF_A AND NOT DEF_B

Brgds,
Viktor



More information about the Harbour mailing list