[hatari-devel] WinUae CPU for hatari
Eero Tamminen
eerot at users.berlios.de
Sun Nov 7 20:16:19 CET 2010
Hi,
On Sunday 07 November 2010, Miro Kropacek wrote:
> Instead you should use (C99):
> > #include <stdbool.h>
>
> Not present in VC++, IIRC.
It's part of the C99 standard. C++ standard doesn't include stdbool.h
include because bool is already part of C++ syntax. GNU C++ supports
including it though.
Doesn't VC support compiling _standard_ C-code, or were you referring to
some version of VC from the previous century? :-)
At least Hatari code _for_ VC seems to be including it:
$ grep stdbool.h $(find -name '*.[ch]')
./tests/debugger/test-symbols.c:#include <stdbool.h>
./tests/debugger/test-evaluate.c:#include <stdbool.h>
./Visual.Studio/VisualStudioFix.h: #include <stdbool.h>
./src/debug/log.h:#include <stdbool.h>
./src/debug/evaluate.c:#include <stdbool.h>
./src/includes/cycles.h:#include <stdbool.h>
./src/includes/main.h:#include <stdbool.h>
./src/str.c:#include <stdbool.h>
./src/gui-win/opencon.c:#include <stdbool.h>
- Eero
More information about the hatari-devel
mailing list