All clear about warnings.
Thanx for your kindness.
----- Original Message -----
From: "Lolke B. Dijkstra" <[EMAIL PROTECTED]>
To: "Marian Naghen" <[EMAIL PROTECTED]>
Sent: Thursday, December 29, 2005 9:52 AM
Subject: Re: [libpqxx-general] info only : VC 7.0 result
> I wouldn't worrie about 4101 en 4800. Generally 4800 can be safely ignored
>
> btw you can fix 4800 easily.
>
> bool f() {
> int flag = 0
> return flag; => 4800
> }
>
> 0 is not a boolean expression hence the conversion.
>
> bool f() {
> int flag = 0;
> return flag != 0;// boolean expression
> }
>
> the same with pointers:
>
> void* f() {
> void *p = 0;
>
> return p; => 4800
> }
>
> void* f() {
> void *p = 0;
> return p != 0; // boolean expression
> }
>
> 4101 always can be safely ignored. The compiler generates these kind of
> warnings to help you find inconsistencies or unfinished business in your
> code.
>
> Marian Naghen wrote:
>
> > I'm not such a C++ expert.
> >
> > Maybe someone want to look at compiling result on VC++ 7.0 standard
> > edition ?
> >
> > How bad are those compiler warnings ?
> >
> > How about "internal compiler error" on tests ? Should I upgrade ?
> >
> >
> > Thanx in advance.
> >
> >
> > __________ NOD32 1.1343 (20051228) Information __________
> >
> > This message was checked by NOD32 antivirus system.
> > http://www.eset.com
> >
> >------------------------------------------------------------------------
> >
> >You can specify a configuration when running NMAKE
> >by defining the macro CFG on the command line. For example:
> >
> >NMAKE /f libpqxx.mak configuration
> >
> >Possible choices for configuration are:
> >
> >"RELEASE" (release Win32 (x86) Dynamic-Link Library and Static
Library)
> >"DEBUG" (debug Win32 (x86) Dynamic-Link Library and Static
Library)
> >"DLL" (release & debug Win32 (x86) Dynamic-Link Library)
> >"STATIC" (release & debug Win32 (x86) Static Library")
> >"ALL" Both the DLL and STATIC builds.
> >
> >
> >------------------------------------------------------------------------
> >
> >You can specify a specific testcase when running NMAKE. For example:
> >NMAKE /f "test.mak" testcase
> >Possible choices for testcase are TEST001 through TEST059 or ALL
> >
> >test000.cxx
> >test001.cxx
> >test002.cxx
> >test003.cxx
> >test004.cxx
> >test005.cxx
> >test006.cxx
> >test007.cxx
> >test008.cxx
> >test009.cxx
> >../include\pqxx\tablewriter.hxx(54) : fatal error C1001: INTERNAL
COMPILER ERROR
> > (compiler file 'msc1.cpp', line 2701)
> > Please choose the Technical Support command on the Visual C++
> > Help menu, or open the Technical Support help file for more
information
> >
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >Libpqxx-general mailing list
> >[email protected]
> >http://gborg.postgresql.org/mailman/listinfo/libpqxx-general
> >
> >
> >__________ NOD32 1.1343 (20051228) Information __________
> >
> >This message was checked by NOD32 antivirus system.
> >http://www.eset.com
> >
> >
> >
>
_______________________________________________
Libpqxx-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/libpqxx-general