bool

Determines whether or not bool , true , and false are treated as keywords in C++ source code.

Syntax
#pragma bool on | off | reset
  
Remarks

If you enable this pragma, you can use the standard C++ bool type to represent true and false . Disable this pragma if bool , true , or false are defined in your source code.

Enabling the bool data type and its true and false values is not equivalent to defining them in source code with typedef , enum , or #define . The C++ bool type is a distinct type defined by the ISO/IEC 14882:2003 C++ Standard. Source code that does not treat bool as a distinct type might not compile properly.

This pragma corresponds to the Enable bool Support setting in the CodeWarrior IDE's Properties > C/C++ Build > Settings > Tool Settings > PowerPC Compiler> C/C++ Language settings panel. By default, this setting is on .

Related information
access_errors
always_inline
arg_dep_lookup
ARM_conform
ARM_scoping
array_new_delete
auto_inline
cplusplus
cpp1x
cpp_extensions
debuginline
def_inherited
defer_codegen
defer_defarg_parsing
direct_destruction
direct_to_som
dont_inline
ecplusplus
exceptions
inline_bottom_up
inline_bottom_up_once
inline_depth
inline_max_auto_size
inline_max_size
inline_max_total_size
internal
iso_templates
new_mangler
no_conststringconv
no_static_dtors
nosyminline
old_friend_lookup
old_pods
old_vtable
opt_classresults
parse_func_templ
parse_mfunc_templ
RTTI
suppress_init_code
template_depth
thread_safe_init
warn_hidevirtual
warn_no_explicit_virtual
warn_no_typename
warn_notinlined
warn_structclass
wchar_type