Does "complex xxx" work?

H. J. Lu hjl@lucon.org
Sat Jun 21 18:38:00 GMT 2003


c_common_nodes_and_builtins calls

  (*lang_hooks.decls.pushdecl) (build_decl (TYPE_DECL,
                                            get_identifier ("complex int"),
                                            complex_integer_type_node));
  (*lang_hooks.decls.pushdecl) (build_decl (TYPE_DECL,
                                            get_identifier ("complex float"),
                                            complex_float_type_node));
  (*lang_hooks.decls.pushdecl) (build_decl (TYPE_DECL,
                                            get_identifier ("complex double"),
                                            complex_double_type_node));
  (*lang_hooks.decls.pushdecl)
    (build_decl (TYPE_DECL, get_identifier ("complex long double"),
                 complex_long_double_type_node));

What are they used for? I still can't use any of those in C++.



H.J.



More information about the Gcc mailing list