Click here to Skip to main content
14,880,163 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: error C2678 Pin
Victor Nijegorodov6-Oct-19 20:34
MemberVictor Nijegorodov6-Oct-19 20:34 
GeneralRe: error C2678 Pin
_Flaviu6-Oct-19 21:30
Member_Flaviu6-Oct-19 21:30 
GeneralRe: error C2678 Pin
Victor Nijegorodov6-Oct-19 21:43
MemberVictor Nijegorodov6-Oct-19 21:43 
GeneralRe: error C2678 Pin
_Flaviu6-Oct-19 21:58
Member_Flaviu6-Oct-19 21:58 
GeneralRe: error C2678 Pin
Richard MacCutchan6-Oct-19 22:22
mveRichard MacCutchan6-Oct-19 22:22 
GeneralRe: error C2678 Pin
_Flaviu7-Oct-19 9:16
Member_Flaviu7-Oct-19 9:16 
GeneralRe: error C2678 Pin
Victor Nijegorodov7-Oct-19 9:24
MemberVictor Nijegorodov7-Oct-19 9:24 
GeneralRe: error C2678 Pin
_Flaviu7-Oct-19 20:21
Member_Flaviu7-Oct-19 20:21 
Ok, but even flag is comming as function parameter, just like this:
static void SomeFunction(level1* na, FILE_FLAGS flag)
{
....
	na->flags |= ~flag;
....	
}

So, I guess I cannot give up FILE_FLAGS enum ... don't I ?
GeneralRe: error C2678 Pin
Victor Nijegorodov7-Oct-19 20:39
MemberVictor Nijegorodov7-Oct-19 20:39 
GeneralRe: error C2678 Pin
Richard MacCutchan7-Oct-19 21:55
mveRichard MacCutchan7-Oct-19 21:55 
GeneralRe: error C2678 Pin
_Flaviu7-Oct-19 23:24
Member_Flaviu7-Oct-19 23:24 
GeneralRe: error C2678 Pin
Richard MacCutchan7-Oct-19 23:33
mveRichard MacCutchan7-Oct-19 23:33 
GeneralRe: error C2678 Pin
Richard MacCutchan8-Oct-19 1:11
mveRichard MacCutchan8-Oct-19 1:11 
GeneralRe: error C2678 Pin
_Flaviu8-Oct-19 1:41
Member_Flaviu8-Oct-19 1:41 
GeneralRe: error C2678 Pin
_Flaviu8-Oct-19 4:12
Member_Flaviu8-Oct-19 4:12 
GeneralRe: error C2678 Pin
Richard MacCutchan8-Oct-19 5:12
mveRichard MacCutchan8-Oct-19 5:12 
GeneralRe: error C2678 Pin
_Flaviu8-Oct-19 5:25
Member_Flaviu8-Oct-19 5:25 
Questionunary minus operator applied to unsigned type, result still unsigned Pin
_Flaviu3-Oct-19 23:07
Member_Flaviu3-Oct-19 23:07 
AnswerRe: unary minus operator applied to unsigned type, result still unsigned Pin
phil.o3-Oct-19 23:50
mvephil.o3-Oct-19 23:50 
PraiseRe: unary minus operator applied to unsigned type, result still unsigned Pin
_Flaviu4-Oct-19 0:57
Member_Flaviu4-Oct-19 0:57 
QuestionOnInitDialog() MFC vc++ Pin
Member 145755563-Oct-19 19:32
MemberMember 145755563-Oct-19 19:32 
AnswerRe: OnInitDialog() MFC vc++ Pin
Richard MacCutchan3-Oct-19 20:58
mveRichard MacCutchan3-Oct-19 20:58 
QuestionHow should I manage my register addresses and expose some of them properly and ensure consistency? Pin
arnold_w3-Oct-19 8:00
Memberarnold_w3-Oct-19 8:00 
AnswerRe: How should I manage my register addresses and expose some of them properly and ensure consistency? Pin
Daniel Pfeffer3-Oct-19 20:27
professionalDaniel Pfeffer3-Oct-19 20:27 
GeneralRe: How should I manage my register addresses and expose some of them properly and ensure consistency? Pin
arnold_w3-Oct-19 20:58
Memberarnold_w3-Oct-19 20:58 

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.