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.
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.


Building dll
libpqxx.cxx
binarystring.cxx
cachedresult.cxx
connection.cxx
connection_base.cxx
..\src\connection_base.cxx(413) : warning C4800: 'int' : forcing value to bool 
'true' or 'false' (performance warning)
cursor.cxx
dbtransaction.cxx
largeobject.cxx
nontransaction.cxx
oldcursor.cxx
pipeline.cxx
..\src\pipeline.cxx(322) : warning C4101: 'e' : unreferenced local variable
result.cxx
robusttransaction.cxx
..\src\robusttransaction.cxx(68) : warning C4101: 'e' : unreferenced local 
variable
tablereader.cxx
tablestream.cxx
tablewriter.cxx
transaction.cxx
transaction_base.cxx
util.cxx
..\src\util.cxx(191) : warning C4800: 'void *' : forcing value to bool 'true' 
or 'false' (performance warning)
        ..\src\util.cxx(231) : see reference to function template instantiation 
'void `anonymous-namespace'::from_string_float<float>(const char [],T &)' being 
compiled
        with
        [
            T=float
        ]
..\src\util.cxx(191) : warning C4800: 'void *' : forcing value to bool 'true' 
or 'false' (performance warning)
        ..\src\util.cxx(237) : see reference to function template instantiation 
'void `anonymous-namespace'::from_string_float<double>(const char [],T &)' 
being compiled
        with
        [
            T=double
        ]
..\src\util.cxx(191) : warning C4800: 'void *' : forcing value to bool 'true' 
or 'false' (performance warning)
        ..\src\util.cxx(243) : see reference to function template instantiation 
'void `anonymous-namespace'::from_string_float<long double>(const char [],T &)' 
being compiled
        with
        [
            T=long double
        ]
   Creating library lib\libpqxx.lib and object lib\libpqxx.exp

Building static
binarystring.cxx
cachedresult.cxx
connection.cxx
connection_base.cxx
..\src\connection_base.cxx(413) : warning C4800: 'int' : forcing value to bool 
'true' or 'false' (performance warning)
cursor.cxx
dbtransaction.cxx
largeobject.cxx
nontransaction.cxx
oldcursor.cxx
pipeline.cxx
..\src\pipeline.cxx(322) : warning C4101: 'e' : unreferenced local variable
result.cxx
robusttransaction.cxx
..\src\robusttransaction.cxx(68) : warning C4101: 'e' : unreferenced local 
variable
tablereader.cxx
tablestream.cxx
tablewriter.cxx
transaction.cxx
transaction_base.cxx
util.cxx
..\src\util.cxx(191) : warning C4800: 'void *' : forcing value to bool 'true' 
or 'false' (performance warning)
        ..\src\util.cxx(231) : see reference to function template instantiation 
'void `anonymous-namespace'::from_string_float<float>(const char [],T &)' being 
compiled
        with
        [
            T=float
        ]
..\src\util.cxx(191) : warning C4800: 'void *' : forcing value to bool 'true' 
or 'false' (performance warning)
        ..\src\util.cxx(237) : see reference to function template instantiation 
'void `anonymous-namespace'::from_string_float<double>(const char [],T &)' 
being compiled
        with
        [
            T=double
        ]
..\src\util.cxx(191) : warning C4800: 'void *' : forcing value to bool 'true' 
or 'false' (performance warning)
        ..\src\util.cxx(243) : see reference to function template instantiation 
'void `anonymous-namespace'::from_string_float<long double>(const char [],T &)' 
being compiled
        with
        [
            T=long double
        ]
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

Reply via email to