Click here to Skip to main content
15,949,686 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Weird Case Pin
Chris Richardson19-Dec-02 20:32
Chris Richardson19-Dec-02 20:32 
GeneralMFC Grid - How To Tab Out of... Pin
RFID Chris18-Dec-02 9:14
RFID Chris18-Dec-02 9:14 
GeneralReverse link list test Pin
Todd Smith18-Dec-02 8:49
Todd Smith18-Dec-02 8:49 
GeneralRe: Reverse link list test Pin
Tim Smith18-Dec-02 9:12
Tim Smith18-Dec-02 9:12 
QuestionDlls dialogs in FormViews? Pin
Ricky_TheBard18-Dec-02 8:27
Ricky_TheBard18-Dec-02 8:27 
QuestionFunctions to manage user profiles in a server ? Pin
Cris18-Dec-02 8:22
Cris18-Dec-02 8:22 
QuestionFlexible deriving a CAsyncSocket class? Pin
User 665818-Dec-02 7:56
User 665818-Dec-02 7:56 
Generalxlocale & xlocnum produce warnings at level 4 Pin
scott sanders18-Dec-02 6:01
scott sanders18-Dec-02 6:01 
Hello,

When I build my MFC project at warning level 4 using VS6sp5, the compiler generates a ton of warning messages from the locale files xlocale and xlocnum. Is this a normal occurance ? I don't want to see these warnings every time I do a rebuild, so how can build my own project files at warning level 4 but outside includes at level 3 ? Or is there a better solution ?

An example of the compiler messages I receive is shown below.

Thank You

srs


c:\program files\microsoft visual studio\vc98\include\xlocnum(599) : warning C4018: '<' : signed/unsigned mismatch

c:\program files\microsoft visual studio\vc98\include\xlocnum(588) : while compiling class-template member function 'class std::ostreambuf_iterator<unsigned short,struct std::char_traits<unsigned short> > __cdecl std::num_put<unsigned short,
class std::ostreambuf_iterator<unsigned short,struct std::char_traits<unsigned short> > >::_Iput(class std::ostreambuf_iterator<unsigned short,struct std::char_traits<unsigned short> >,class std::ios_base &,unsigned short,char *,unsigned int)'

c:\program files\microsoft visual studio\vc98\include\xlocnum(606) : warning C4018: '<=' : signed/unsigned mismatch

c:\program files\microsoft visual studio\vc98\include\xlocnum(588) : while compiling class-template member function 'class std::ostreambuf_iterator<unsigned short,struct std::char_traits<unsigned short> > __cdecl std::num_put<unsigned short,
class std::ostreambuf_iterator<unsigned short,struct std::char_traits<unsigned short> > >::_Iput(class std::ostreambuf_iterator<unsigned short,struct std::char_traits<unsigned short> >,class std::ios_base &,unsigned short,char *,unsigned int)'

c:\program files\microsoft visual studio\vc98\include\xlocale(204) : warning C4244: '=' : conversion from 'unsigned int' to 'char', possible loss of data

c:\program files\microsoft visual studio\vc98\include\xlocnum(151) : see reference to function template instantiation 'int __cdecl std::_Getloctxt(class std::istreambuf_iterator<char,struct std::char_traits<char> > &,class std::istreambuf_it
erator<char,struct std::char_traits<char> > &,unsigned int,const char *)' being compiled

c:\program files\microsoft visual studio\vc98\include\xlocale(207) : warning C4244: '=' : conversion from 'unsigned int' to 'char', possible loss of data

c:\program files\microsoft visual studio\vc98\include\xlocnum(151) : see reference to function template instantiation 'int __cdecl std::_Getloctxt(class std::istreambuf_iterator<char,struct std::char_traits<char> > &,class std::istreambuf_it
erator<char,struct std::char_traits<char> > &,unsigned int,const char *)' being compiled


GeneralRe: xlocale & xlocnum produce warnings at level 4 Pin
scott sanders18-Dec-02 10:25
scott sanders18-Dec-02 10:25 
GeneralXML filter for Indexing services Pin
Lucian MATEESCU18-Dec-02 5:29
Lucian MATEESCU18-Dec-02 5:29 
GeneralZooming a CDC Pin
S O S18-Dec-02 4:51
S O S18-Dec-02 4:51 
GeneralRe: Zooming a CDC Pin
Chris Losinger18-Dec-02 8:02
professionalChris Losinger18-Dec-02 8:02 
Generaldll question Pin
salah_gis18-Dec-02 4:48
salah_gis18-Dec-02 4:48 
GeneralOpening a socket Pin
Trin218-Dec-02 4:31
Trin218-Dec-02 4:31 
GeneralRe: Opening a socket Pin
-Dy18-Dec-02 22:46
-Dy18-Dec-02 22:46 
GeneralRe: process problem Pin
jmkhael18-Dec-02 4:31
jmkhael18-Dec-02 4:31 
GeneralBuilding MFC extension problem Pin
Wenrich18-Dec-02 3:56
Wenrich18-Dec-02 3:56 
GeneralProblem to make call in TAPI ( 2.2 ) Pin
S.Maharajan18-Dec-02 3:25
S.Maharajan18-Dec-02 3:25 
GeneralRe: Problem to make call in TAPI ( 2.2 ) Pin
Michael P Butler18-Dec-02 4:40
Michael P Butler18-Dec-02 4:40 
GeneralA simple C compiler Pin
ns18-Dec-02 3:03
ns18-Dec-02 3:03 
GeneralRe: A simple C compiler Pin
Taka Muraoka18-Dec-02 3:20
Taka Muraoka18-Dec-02 3:20 
GeneralRe: A simple C compiler Pin
benjymous18-Dec-02 3:30
benjymous18-Dec-02 3:30 
GeneralRe: A simple C compiler Pin
ns18-Dec-02 3:52
ns18-Dec-02 3:52 
GeneralRe: A simple C compiler Pin
benjymous18-Dec-02 3:59
benjymous18-Dec-02 3:59 
GeneralRe: A simple C compiler Pin
ns18-Dec-02 3:39
ns18-Dec-02 3:39 

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.