bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

trueunix 5.1 cc compilation


From: Pekka Järveläinen
Subject: trueunix 5.1 cc compilation
Date: Tue, 30 Apr 2002 15:51:12 +0300 (EEST)

cc: Error: ./stdbool.h, line 34: In this declaration, "enum" cannot be
combined with "_Bool". (typeconflict)
typedef enum { false = 0, true = 1 } _Bool;
-------------------------------------^
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.

My first try to solve it was not successfull

cc: Error: ./stdbool.h, line 32: Missing ";". (nosemi)
typedef bool _Bool;
-------------^
*** Exit 1
Stop.

But just
 #define bool _Bool
works


-- 
Pekka Järveläinen                       Tel. 457 2467
Centre for Scientific Computing         GSM  040 543 7856
Tekniikantie 15a D, P.O. Box 405        fax. 457 2302
02101 ESPOO, FINLAND                    address@hidden






reply via email to

[Prev in Thread] Current Thread [Next in Thread]