Click here to Skip to main content
15,893,487 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Why do I get warning C4748? Pin
David Crow23-Sep-10 2:56
David Crow23-Sep-10 2:56 
AnswerRe: Why do I get warning C4748? Pin
Stefan_Lang23-Sep-10 3:14
Stefan_Lang23-Sep-10 3:14 
AnswerRe: Why do I get warning C4748? Pin
Maximilien23-Sep-10 3:34
Maximilien23-Sep-10 3:34 
QuestionRe: Why do I get warning C4748? Pin
David Crow23-Sep-10 4:21
David Crow23-Sep-10 4:21 
AnswerRe: Why do I get warning C4748? Pin
Maximilien23-Sep-10 4:43
Maximilien23-Sep-10 4:43 
GeneralRe: Why do I get warning C4748? Pin
Stefan_Lang23-Sep-10 4:34
Stefan_Lang23-Sep-10 4:34 
GeneralRe: Why do I get warning C4748? Pin
Luc Pattyn23-Sep-10 4:48
sitebuilderLuc Pattyn23-Sep-10 4:48 
GeneralRe: Why do I get warning C4748? Pin
Stefan_Lang23-Sep-10 6:55
Stefan_Lang23-Sep-10 6:55 
I am assuming this is meant to be helpful, but it is not. The compiler did not give me any more information than what I offered in the OP, and it did point to what in my obfuscated example is represented by the function sum().

There's nothing wrong I see whith that function, nor with the object that is being instantiated there, and still, the fact that this object is there and the class is being defined as it is somehow contributes to the compiler generating a warning.

I wouldn't be surprised if I eventually find the MS libraries to responsible - I just worked on another problem and after about a half hour of searching I eventually realized it was due to a global #define in winsock.h. Thank you MS! Mad | :mad:
GeneralRe: Why do I get warning C4748? Pin
Luc Pattyn23-Sep-10 7:16
sitebuilderLuc Pattyn23-Sep-10 7:16 
AnswerRe: Why do I get warning C4748? [modified] Pin
Stefan_Lang23-Sep-10 23:03
Stefan_Lang23-Sep-10 23:03 
QuestionArray traversal Pin
T.RATHA KRISHNAN23-Sep-10 1:31
T.RATHA KRISHNAN23-Sep-10 1:31 
AnswerRe: Array traversal Pin
_AnsHUMAN_ 23-Sep-10 2:02
_AnsHUMAN_ 23-Sep-10 2:02 
GeneralRe: Array traversal Pin
Emilio Garavaglia23-Sep-10 4:11
Emilio Garavaglia23-Sep-10 4:11 
GeneralRe: Array traversal Pin
Niklas L23-Sep-10 21:04
Niklas L23-Sep-10 21:04 
AnswerRe: Array traversal Pin
KarstenK23-Sep-10 3:11
mveKarstenK23-Sep-10 3:11 
QuestionRemove Features/components from Windows 7 [modified] Pin
Aabid22-Sep-10 23:13
Aabid22-Sep-10 23:13 
AnswerRe: Remove Features/components from Windows 7 Pin
Maximilien23-Sep-10 0:51
Maximilien23-Sep-10 0:51 
GeneralRe: Remove Features/components from Windows 7 Pin
Aabid23-Sep-10 1:04
Aabid23-Sep-10 1:04 
QuestionView Pin
john563222-Sep-10 21:52
john563222-Sep-10 21:52 
AnswerRe: View [modified] Pin
mesajflaviu22-Sep-10 22:15
mesajflaviu22-Sep-10 22:15 
QuestionDrawing Pin
Benjamin Bruno22-Sep-10 7:29
Benjamin Bruno22-Sep-10 7:29 
QuestionRe: Drawing Pin
David Crow22-Sep-10 8:06
David Crow22-Sep-10 8:06 
AnswerRe: Drawing Pin
sharp prospector23-Sep-10 4:14
sharp prospector23-Sep-10 4:14 
QuestionCListCtrl Border Pin
john563222-Sep-10 6:50
john563222-Sep-10 6:50 
AnswerRe: CListCtrl Border Pin
Maximilien22-Sep-10 8:46
Maximilien22-Sep-10 8:46 

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.