bool (again?)

Kevin Bracey kevin.bracey at pace.co.uk
Thu May 2 16:58:22 BST 2002


I've been busy upgrading Norcroft to C99, and I'd like to make a minor
suggestion for the next version of OSLib. As well as checking for
__STDC_VERSION__, could you also make it check for
__bool_true_false_are_defined?

It'll be some time before Norcroft makes it to the point where I could set
__STDC_VERSION__ to 1999xx with a straight face, but in the interim, checking
for __bool_true_false_are_defined will catch the intermediate versions, as
long as people #include <stdbool.h> before any OSLib headers.

-- 
Kevin Bracey, Principal Software Engineer
Pace Micro Technology plc                     Tel: +44 (0) 1223 518566
645 Newmarket Road                            Fax: +44 (0) 1223 518526
Cambridge, CB5 8PB, United Kingdom            WWW: http://www.pace.co.uk/



More information about the oslib-user mailing list