Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 967 Bytes

compiler-error-c2632.md

File metadata and controls

32 lines (24 loc) · 967 Bytes
descriptiontitlems.datef1_keywordshelpviewer_keywordsms.assetid
Learn more about: Compiler Error C2632
Compiler Error C2632
11/04/2016
C2632
C2632
b15a6b1b-42d2-4e1b-8660-e6bfde61052d

Compiler Error C2632

'type1' followed by 'type2' is illegal

This error can be caused if there is missing code between two type specifiers.

The following sample generates C2632:

// C2632.cppintfloat i; // C2632

This error can also be generated as a result of compiler conformance work that was done for Visual Studio .NET 2003. bool is now a proper type. In previous versions, bool was a typedef, and you could create identifiers with that name.

The following sample generates C2632:

// C2632_2.cpp// compile with: /LDvoidf(intbool); // C2632

To resolve this error so that the code is valid in both the Visual Studio .NET 2003 and Visual Studio .NET versions of Visual C++, rename the identifier.

close