Click here to Skip to main content
15,880,405 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: error C2143 Pin
Richard MacCutchan11-Oct-19 0:55
mveRichard MacCutchan11-Oct-19 0:55 
GeneralRe: error C2143 Pin
_Flaviu11-Oct-19 1:08
_Flaviu11-Oct-19 1:08 
GeneralRe: error C2143 Pin
Richard MacCutchan11-Oct-19 1:24
mveRichard MacCutchan11-Oct-19 1:24 
GeneralRe: error C2143 Pin
_Flaviu11-Oct-19 4:28
_Flaviu11-Oct-19 4:28 
GeneralRe: error C2143 Pin
Richard MacCutchan11-Oct-19 5:04
mveRichard MacCutchan11-Oct-19 5:04 
GeneralRe: error C2143 Pin
leon de boer15-Oct-19 2:58
leon de boer15-Oct-19 2:58 
AnswerRe: error C2143 Pin
David Crow10-Oct-19 10:44
David Crow10-Oct-19 10:44 
AnswerRe: error C2143 Pin
Daniel Pfeffer11-Oct-19 4:47
professionalDaniel Pfeffer11-Oct-19 4:47 
When you have so many nested macros, one thing to do is look at a pre-processed version of the code.
In MSVC, adding /P to the command line will create a file with a .i extension, containing the pre-processed code. Examining that will probably give you the cause of the error.

EDIT: I see someone beat me to giving the same advice.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.

GeneralRe: error C2143 Pin
_Flaviu12-Oct-19 23:44
_Flaviu12-Oct-19 23:44 
GeneralRe: error C2143 Pin
_Flaviu12-Oct-19 23:46
_Flaviu12-Oct-19 23:46 
QuestionHow can I have several hundred of #if defined(XXX) ... #endif in an easy-to-read table format? Pin
arnold_w9-Oct-19 11:55
arnold_w9-Oct-19 11:55 
QuestionRe: How can I have several hundred of #if defined(XXX) ... #endif in an easy-to-read table format? Pin
Richard MacCutchan9-Oct-19 21:41
mveRichard MacCutchan9-Oct-19 21:41 
AnswerRe: How can I have several hundred of #if defined(XXX) ... #endif in an easy-to-read table format? Pin
arnold_w9-Oct-19 21:54
arnold_w9-Oct-19 21:54 
GeneralRe: How can I have several hundred of #if defined(XXX) ... #endif in an easy-to-read table format? Pin
Richard MacCutchan9-Oct-19 22:10
mveRichard MacCutchan9-Oct-19 22:10 
GeneralRe: How can I have several hundred of #if defined(XXX) ... #endif in an easy-to-read table format? Pin
arnold_w9-Oct-19 22:20
arnold_w9-Oct-19 22:20 
GeneralRe: How can I have several hundred of #if defined(XXX) ... #endif in an easy-to-read table format? Pin
Richard MacCutchan9-Oct-19 22:36
mveRichard MacCutchan9-Oct-19 22:36 
GeneralRe: How can I have several hundred of #if defined(XXX) ... #endif in an easy-to-read table format? Pin
arnold_w9-Oct-19 23:00
arnold_w9-Oct-19 23:00 
AnswerRe: How can I have several hundred of #if defined(XXX) ... #endif in an easy-to-read table format? Pin
CPallini10-Oct-19 3:03
mveCPallini10-Oct-19 3:03 
GeneralRe: How can I have several hundred of #if defined(XXX) ... #endif in an easy-to-read table format? Pin
arnold_w10-Oct-19 4:27
arnold_w10-Oct-19 4:27 
GeneralRe: How can I have several hundred of #if defined(XXX) ... #endif in an easy-to-read table format? Pin
CPallini10-Oct-19 6:12
mveCPallini10-Oct-19 6:12 
QuestionProblem with AlphaBlend. Pin
Member 126614649-Oct-19 6:57
Member 126614649-Oct-19 6:57 
QuestionRe: Problem with AlphaBlend. Pin
Richard MacCutchan9-Oct-19 8:49
mveRichard MacCutchan9-Oct-19 8:49 
AnswerRe: Problem with AlphaBlend. Pin
Member 126614649-Oct-19 9:09
Member 126614649-Oct-19 9:09 
GeneralRe: Problem with AlphaBlend. Pin
Richard MacCutchan9-Oct-19 9:34
mveRichard MacCutchan9-Oct-19 9:34 
QuestionPassing a "value", that was either #defined or #undef, into a macro and check if it was defined? Pin
arnold_w9-Oct-19 6:07
arnold_w9-Oct-19 6:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.