Click here to Skip to main content
15,881,248 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMessage Closed Pin
2-Jun-17 20:55
Member 132002172-Jun-17 20:55 
Questionbuilding the assimp library Pin
PierreBokma25-May-17 10:01
PierreBokma25-May-17 10:01 
AnswerRe: building the assimp library Pin
Richard MacCutchan25-May-17 20:48
mveRichard MacCutchan25-May-17 20:48 
AnswerRe: building the assimp library Pin
RedDk26-May-17 8:19
RedDk26-May-17 8:19 
QuestionC2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redefinition RESOLVED Pin
bkelly1321-May-17 21:12
bkelly1321-May-17 21:12 
AnswerRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
Richard MacCutchan21-May-17 22:34
mveRichard MacCutchan21-May-17 22:34 
AnswerRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
Jochen Arndt21-May-17 23:38
professionalJochen Arndt21-May-17 23:38 
AnswerRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
Randor 22-May-17 0:29
professional Randor 22-May-17 0:29 
Hmmmm,

bkelly13 wrote:
While trying to chase down this problem I discovered that the file name is really Message_Constants.h. When I chase down the error the file name at the top of the edit windows shows the name "message_constants.h" It also shows "Message_Constants.h" What is with the all lower case versus the leading caps?

I execute a Save As to ascertain the actual location and it is as expected. Open Windows explorer and it finds "Message_Constants.h and it does not find "message_constants.h" Now I have changed all occurrences to use the leading caps version but this problem remains.


Why on earth are you editing those header files? It technically should not matter if headers use "message_constants.h" or "Message_Constants.h" unless you have modified the OS group policy that enforces case sensitivity[^]. File a bug if this is an issue for your organization.

Learn to use the tools you are given. You should be using the /showIncludes (List Include Files)[^] option for debugging nested include bugs.

How to: View, Save, and Configure Build Log Files[^]

Enable 'Diagnostic' verbose logging. Search that log for message_constants.h and you should quickly find the offending file.

Career Advice: You should always avoid #including headers from headers... from other nested headers.

Yes, this means you may need to add #include "your_header.h" in 50 different CPP files.

Best Wishes,
-David Delaune
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
bkelly1322-May-17 3:44
bkelly1322-May-17 3:44 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
Randor 22-May-17 5:15
professional Randor 22-May-17 5:15 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
bkelly1322-May-17 10:28
bkelly1322-May-17 10:28 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
Randor 22-May-17 11:18
professional Randor 22-May-17 11:18 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
bkelly1322-May-17 11:53
bkelly1322-May-17 11:53 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
leon de boer22-May-17 19:49
leon de boer22-May-17 19:49 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
Richard Andrew x6428-May-17 15:11
professionalRichard Andrew x6428-May-17 15:11 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
leon de boer28-May-17 16:37
leon de boer28-May-17 16:37 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
Richard Andrew x6429-May-17 3:24
professionalRichard Andrew x6429-May-17 3:24 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
Randor 29-May-17 9:57
professional Randor 29-May-17 9:57 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
leon de boer29-May-17 18:12
leon de boer29-May-17 18:12 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
leon de boer29-May-17 18:02
leon de boer29-May-17 18:02 
AnswerRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
Randor 29-May-17 9:50
professional Randor 29-May-17 9:50 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
leon de boer22-May-17 5:27
leon de boer22-May-17 5:27 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
Richard MacCutchan22-May-17 6:45
mveRichard MacCutchan22-May-17 6:45 
GeneralRe: C2011 ‘vc_sttributes::YesNoMaybe’ “ ‘enum’ type redifinition Pin
Bram van Kampen2-Jun-17 14:58
Bram van Kampen2-Jun-17 14:58 
Questionfytjfc Pin
Mehul Mahajan21-May-17 0:25
Mehul Mahajan21-May-17 0:25 

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.