Szakáts Viktor wrote:
BTW, maybe you've missed it, but I've sent an e-mail
on strange #if behaviour. It's the same with MSVC:

---
#define DEF_A
#define DEF_B
#if defined( DEF_A ) && ! defined( DEF_B )
#error DEF_A AND NOT DEF_B
#endif

Hi,


this sound like MSVC preprocessor problem, see:

#if sizeof( MYSQL_ROW ) != sizeof( void* )
   #error "MySQLDD error: sizeof( MYSQL_ROW ) != sizeof( void* )"
#endif


I GUESS your case can be "fixed" by:

#if defined( DEF_A )
#if ! defined( DEF_B )
#error DEF_A AND NOT DEF_B
#endif
#endif


Best regards,
Mindaugas
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to