Click here to Skip to main content
15,895,142 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Compiler Warning C4407: How bad is it? Pin
Kyudos20-Jun-11 0:40
Kyudos20-Jun-11 0:40 
AnswerRe: Compiler Warning C4407: How bad is it? Pin
Albert Holguin20-Jun-11 13:44
professionalAlbert Holguin20-Jun-11 13:44 
Why don't you pick out the first occurance of the warning, and post the applicable code along with the exact message in the warning. I can probably tell you why you get the warning and how to fix it. VS6 used to let you get away with a lot that the newer, stricter implementations of the vc compiler will either warn you about, or not let you do it at all.

One such case is taking data from one format to another without explicit casting:
float pi = 3.1415;
int i_pi = pi; //<-- In VS6, you'd get no warning (usually) but in the newer versions, you'll get a warning about possible loss of data (just to make you more aware of what you are doing)

int i_pi = (int) pi; //<-- No more warning, you've explicitly stated this is what you want.

GeneralRe: Compiler Warning C4407: How bad is it? Pin
Kyudos20-Jun-11 13:58
Kyudos20-Jun-11 13:58 
AnswerRe: Compiler Warning C4407: How bad is it? [modified] Pin
Albert Holguin20-Jun-11 17:10
professionalAlbert Holguin20-Jun-11 17:10 
GeneralRe: Compiler Warning C4407: How bad is it? Pin
Kyudos20-Jun-11 17:18
Kyudos20-Jun-11 17:18 
QuestionRe: Compiler Warning C4407: How bad is it? Pin
Albert Holguin20-Jun-11 17:22
professionalAlbert Holguin20-Jun-11 17:22 
AnswerRe: Compiler Warning C4407: How bad is it? Pin
Kyudos20-Jun-11 17:29
Kyudos20-Jun-11 17:29 
GeneralRe: Compiler Warning C4407: How bad is it? Pin
Albert Holguin20-Jun-11 17:53
professionalAlbert Holguin20-Jun-11 17:53 
GeneralRe: Compiler Warning C4407: How bad is it? Pin
Kyudos20-Jun-11 18:19
Kyudos20-Jun-11 18:19 
GeneralRe: Compiler Warning C4407: How bad is it? Pin
Albert Holguin20-Jun-11 18:21
professionalAlbert Holguin20-Jun-11 18:21 
GeneralRe: Compiler Warning C4407: How bad is it? Pin
Albert Holguin20-Jun-11 18:21
professionalAlbert Holguin20-Jun-11 18:21 
GeneralRe: Compiler Warning C4407: How bad is it? Pin
Kyudos20-Jun-11 18:27
Kyudos20-Jun-11 18:27 
GeneralRe: Compiler Warning C4407: How bad is it? Pin
Albert Holguin21-Jun-11 3:12
professionalAlbert Holguin21-Jun-11 3:12 
JokeRe: Compiler Warning C4407: How bad is it? Pin
ElectronicShocker20-Jun-11 18:02
ElectronicShocker20-Jun-11 18:02 
GeneralRe: Compiler Warning C4407: How bad is it? Pin
Albert Holguin20-Jun-11 18:03
professionalAlbert Holguin20-Jun-11 18:03 
AnswerRe: Compiler Warning C4407: How bad is it? Pin
ElectronicShocker20-Jun-11 18:03
ElectronicShocker20-Jun-11 18:03 
GeneralRe: Compiler Warning C4407: How bad is it? Pin
Albert Holguin20-Jun-11 18:06
professionalAlbert Holguin20-Jun-11 18:06 
AnswerRe: Compiler Warning C4407: How bad is it? Pin
ElectronicShocker20-Jun-11 18:05
ElectronicShocker20-Jun-11 18:05 
GeneralRe: Compiler Warning C4407: How bad is it? Pin
Sergey Alexandrovich Kryukov20-Jun-11 19:39
mvaSergey Alexandrovich Kryukov20-Jun-11 19:39 
Questionwindows belonging to different processes are mixed in a single window hierarchy Pin
xrg_soft@163.com19-Jun-11 0:31
xrg_soft@163.com19-Jun-11 0:31 
AnswerRe: windows belonging to different processes are mixed in a single window hierarchy Pin
Kyudos20-Jun-11 1:01
Kyudos20-Jun-11 1:01 
QuestionProblem of OLE Object Pin
whiteclouds13-Jun-11 20:09
whiteclouds13-Jun-11 20:09 
Question32 bit to 64 bit COM Pin
Pranit Kothari13-Jun-11 18:00
Pranit Kothari13-Jun-11 18:00 
QuestionWTL no longer being updated, what to do? Pin
Peteris Krumins8-Jun-11 3:39
Peteris Krumins8-Jun-11 3:39 
AnswerRe: WTL no longer being updated, what to do? Pin
Rob Caldecott8-Jun-11 5:47
Rob Caldecott8-Jun-11 5: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.