Click here to Skip to main content
14,364,487 members

C / C++ / MFC

 
GeneralRe: error C2143 Pin
Richard MacCutchan11-Oct-19 2:24
protectorRichard MacCutchan11-Oct-19 2:24 
GeneralRe: error C2143 Pin
_Flaviu11-Oct-19 5:28
member_Flaviu11-Oct-19 5:28 
GeneralRe: error C2143 Pin
Richard MacCutchan11-Oct-19 6:04
protectorRichard MacCutchan11-Oct-19 6:04 
GeneralRe: error C2143 Pin
leon de boer15-Oct-19 3:58
memberleon de boer15-Oct-19 3:58 
AnswerRe: error C2143 Pin
David Crow10-Oct-19 11:44
memberDavid Crow10-Oct-19 11:44 
AnswerRe: error C2143 Pin
Daniel Pfeffer11-Oct-19 5:47
professionalDaniel Pfeffer11-Oct-19 5:47 
GeneralRe: error C2143 Pin
_Flaviu13-Oct-19 0:44
member_Flaviu13-Oct-19 0:44 
GeneralRe: error C2143 Pin
_Flaviu13-Oct-19 0:46
member_Flaviu13-Oct-19 0:46 
I have put that option on property page settings and show me no more details: The error occur in inode.cpp file (former inode.c file), and those macros are in support.h file.

So, when I compiled with /P option, I got only inode.i file, where I have a line:

#line 1 "d:\\project\\.......\\inode.cpp"

that is all. And support.i doesn't generated, due to error:
fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory
...
fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory
...
fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory
...


The problem is the code is trying to use TestAndClearDirty(ni); for returning BOOL value, and I don't think that macro is written to return a BOOL value ... I guess from here is coming these errors ...

modified 14-Oct-19 4:54am.

QuestionHow can I have several hundred of #if defined(XXX) ... #endif in an easy-to-read table format? Pin
arnold_w9-Oct-19 12:55
memberarnold_w9-Oct-19 12: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 22:41
protectorRichard MacCutchan9-Oct-19 22: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 22:54
memberarnold_w9-Oct-19 22: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 23:10
protectorRichard MacCutchan9-Oct-19 23: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 23:20
memberarnold_w9-Oct-19 23: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 23:36
protectorRichard MacCutchan9-Oct-19 23:36 
GeneralRe: How can I have several hundred of #if defined(XXX) ... #endif in an easy-to-read table format? Pin
arnold_w10-Oct-19 0:00
memberarnold_w10-Oct-19 0:00 
AnswerRe: How can I have several hundred of #if defined(XXX) ... #endif in an easy-to-read table format? Pin
CPallini10-Oct-19 4:03
mveCPallini10-Oct-19 4: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 5:27
memberarnold_w10-Oct-19 5:27 
GeneralRe: How can I have several hundred of #if defined(XXX) ... #endif in an easy-to-read table format? Pin
CPallini10-Oct-19 7:12
mveCPallini10-Oct-19 7:12 
QuestionProblem with AlphaBlend. Pin
Member 126614649-Oct-19 7:57
memberMember 126614649-Oct-19 7:57 
QuestionRe: Problem with AlphaBlend. Pin
Richard MacCutchan9-Oct-19 9:49
protectorRichard MacCutchan9-Oct-19 9:49 
AnswerRe: Problem with AlphaBlend. Pin
Member 126614649-Oct-19 10:09
memberMember 126614649-Oct-19 10:09 
GeneralRe: Problem with AlphaBlend. Pin
Richard MacCutchan9-Oct-19 10:34
protectorRichard MacCutchan9-Oct-19 10:34 
QuestionPassing a "value", that was either #defined or #undef, into a macro and check if it was defined? Pin
arnold_w9-Oct-19 7:07
memberarnold_w9-Oct-19 7:07 
AnswerRe: Passing a "value", that was either #defined or #undef, into a macro and check if it was defined? Pin
k50549-Oct-19 7:48
memberk50549-Oct-19 7:48 
AnswerRe: Passing a "value", that was either #defined or #undef, into a macro and check if it was defined? Pin
Richard MacCutchan9-Oct-19 9:47
protectorRichard MacCutchan9-Oct-19 9:47 

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.