Renesas TM V.3.20A Especificaciones Pagina 232

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 762
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 231
Renesas Technology, Tools FAQs
Last Updated: November 5, 2002
Document Number: 02102102_e
Q.
When I use a type-name defined as void by typedef as an argument in a function declaration, the error "unnamed parameter" occurs.
A.
M3T-CC32R restrictions state that a type-name defined as void by typedef cannot be used as an argument in a function declaration.
(Please refer to the related release note for more details.)
However, you can use a #define macro as an argument in a function declaration instead of a typedef.
[Example:]
Before Change
typedef void VOID;
int func(VOID)
{
return 0;
}
After Change
#define VOID void /* change VOID to #define macro */
int func(VOID)
{
return 0;
}
Top of Page | Back to Previous Page
Terms of Use Privacy Policy
(C)2004 Renesas Technology Corp., All Rights Reserved.
This restriction has already been fixed in the
M3T-CC32R V.4.30 Release 00 and later.
Vista de pagina 231
1 2 ... 227 228 229 230 231 232 233 234 235 236 237 ... 761 762

Comentarios a estos manuales

Sin comentarios