Visual Studio 16.7.3 compile error with Win SDK 10.0.19041.1: C2632



Recently updated MS VS (from VS12) and SDK, started to recompile a legacy C++ app and receiving a C2632 error that appears to be thrown from SDK:


1>C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared\rpcndr.h(193,23): error C2632: 'char' followed by 'int' is illegal

Running out of ideas.

Did find this on net but not sure how to find the guilty header file amongst my output:

It explains how to turn on 'show includes'

Project Settings -> Configuration Properties -> C/C++ -> Advanced -> Show Includes

@Nico238 Yes, thank you! I found out there was an old GtGui included. This caused the errors.

Continue reading...
Top Bottom