Menu

#1 Compiling on OSF1 V4.0 878 alpha

open
nobody
None
5
2000-11-01
2000-11-01
No

Hello,

I encountered three problems when compiling.

1. No definition for "true".
2. No definition for "false".
3. No definition for "bool".

I overcame this by added the following to the problem files:

#ifndef true
#define true 1
#endif
#ifndef false
#define false 0
#endif
#ifndef bool
#define bool short
#endif

Regards,
Chris.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB