Click here to Skip to main content
15,890,717 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Help Pin
David Crow25-Apr-17 3:59
David Crow25-Apr-17 3:59 
QuestionUsing menu key Pin
_Flaviu23-Apr-17 21:34
_Flaviu23-Apr-17 21:34 
QuestionRe: Using menu key Pin
Richard MacCutchan23-Apr-17 21:56
mveRichard MacCutchan23-Apr-17 21:56 
AnswerRe: Using menu key Pin
_Flaviu23-Apr-17 22:15
_Flaviu23-Apr-17 22:15 
GeneralRe: Using menu key Pin
Richard MacCutchan23-Apr-17 22:56
mveRichard MacCutchan23-Apr-17 22:56 
AnswerRe: Using menu key Pin
Jochen Arndt23-Apr-17 22:40
professionalJochen Arndt23-Apr-17 22:40 
GeneralRe: Using menu key Pin
_Flaviu23-Apr-17 23:11
_Flaviu23-Apr-17 23:11 
QuestionNot getting the visible bottom index of the List Control in MFC? Pin
SanjayK7023-Apr-17 1:44
SanjayK7023-Apr-17 1:44 
AnswerRe: Not getting the visible bottom index of the List Control in MFC? Pin
Michael_Davies23-Apr-17 1:55
Michael_Davies23-Apr-17 1:55 
GeneralRe: Not getting the visible bottom index of the List Control in MFC? Pin
SanjayK7025-Apr-17 18:58
SanjayK7025-Apr-17 18:58 
AnswerRe: Not getting the visible bottom index of the List Control in MFC? Pin
Jochen Arndt23-Apr-17 21:17
professionalJochen Arndt23-Apr-17 21:17 
GeneralRe: Not getting the visible bottom index of the List Control in MFC? Pin
SanjayK7025-Apr-17 18:57
SanjayK7025-Apr-17 18:57 
QuestionFind the Eigenvalues and Eigenvectors using C Language Pin
Member 1314582022-Apr-17 17:27
Member 1314582022-Apr-17 17:27 
AnswerRe: Find the Eigenvalues and Eigenvectors using C Language Pin
Richard MacCutchan22-Apr-17 20:59
mveRichard MacCutchan22-Apr-17 20:59 
AnswerRe: Find the Eigenvalues and Eigenvectors using C Language Pin
Victor Nijegorodov22-Apr-17 23:03
Victor Nijegorodov22-Apr-17 23:03 
AnswerRe: Find the Eigenvalues and Eigenvectors using C Language Pin
Victor Nijegorodov22-Apr-17 23:05
Victor Nijegorodov22-Apr-17 23:05 
QuestionType struct question Pin
samzcs21-Apr-17 9:28
samzcs21-Apr-17 9:28 
AnswerRe: Type struct question Pin
Jochen Arndt21-Apr-17 21:31
professionalJochen Arndt21-Apr-17 21:31 
GeneralRe: Type struct question Pin
samzcs24-Apr-17 2:18
samzcs24-Apr-17 2:18 
GeneralRe: Type struct question Pin
Jochen Arndt24-Apr-17 2:24
professionalJochen Arndt24-Apr-17 2:24 
GeneralRe: Type struct question Pin
samzcs24-Apr-17 2:43
samzcs24-Apr-17 2:43 
GeneralRe: Type struct question Pin
Jochen Arndt24-Apr-17 2:58
professionalJochen Arndt24-Apr-17 2:58 
GeneralRe: Type struct question Pin
leon de boer25-Apr-17 4:22
leon de boer25-Apr-17 4:22 
From memory that breaks several other MISRA-C rules under section 11 ... 11.1 through 11.6 restrict what you can do with C casts.

Hardware related implementations usually involve coding that MISRA rules see as "dangerous". I can tell you from experience the easiest way around them is drag it down to included assembler blocks. The assembler blocks fall outside the scope of MISRA.

You could define two different extern's in a .h file to the same register with assembler which would essentially restore the use of the union yet be MISRA compliant Smile | :)
In vino veritas


modified 25-Apr-17 10:57am.

GeneralRe: Type struct question Pin
Jochen Arndt25-Apr-17 5:27
professionalJochen Arndt25-Apr-17 5:27 
GeneralRe: Type struct question Pin
leon de boer25-Apr-17 6:12
leon de boer25-Apr-17 6:12 

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.