------- Comment #4 from manu at gcc dot gnu dot org 2008-10-25 14:52 ------- The C front-end prints:
error: called object (int __complex__){(int)__real__ (i), (int)__imag__ (i)} is not a function which is not great either. We could try to dump the complex expression as a CONVERT_EXPR: error: (int __complex__)((int)__real__ i) cannot be used as a function or we can just print something like error: __complex__ expression cannot be used as a function I think I prefer the latter. Any opinions? -- manu at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35334