Renesas TM V.3.20A Especificações Página 232

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 762
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 231
1 2 ... 227 228 229 230 231 232 233 234 235 236 237 ... 761 762

Comentários a estes Manuais

Sem comentários