CGICC compiling warning message on VC++ version 7.1

"Jicheng Zhou" <[email protected]> Tue, 19 Apr 2005 01:25:05 -0400
Newsgroups gmane.comp.gcc.cgicc.bugs
Message-ID <[email protected]>
Dear Sir/Madam;

thank you for providing the cgicc program to public. The program is great.
I got the following warning messages when I  build cgicc version 3.2.3 with 
Microsoft Visual C++  version 7.1. It works fine though.

regards,

Joe



------ Rebuild All started: Project: cgicc, Configuration: Release Win32 
------

Deleting intermediate files and output files for project 'cgicc', 
configuration 'Release|Win32'.
Compiling...
MStreamable.cpp
HTTPStatusHeader.cpp
..\cgicc\HTTPHeader.h(131) : warning C4251: 'cgicc::HTTPHeader::fCookies' : 
class 'std::vector<_Ty>' needs to have dll-interface to be used by clients 
of class 'cgicc::HTTPHeader'
        with
        [
            _Ty=cgicc::HTTPCookie
        ]
HTTPResponseHeader.cpp
..\cgicc\HTTPResponseHeader.h(242) : warning C4251: 
'cgicc::HTTPResponseHeader::fHeaders' : class 'std::vector<_Ty>' needs to 
have dll-interface to be used by clients of class 
'cgicc::HTTPResponseHeader'
        with
        [
            _Ty=std::string
        ]
..\cgicc\HTTPResponseHeader.h(243) : warning C4251: 
'cgicc::HTTPResponseHeader::fCookies' : class 'std::vector<_Ty>' needs to 
have dll-interface to be used by clients of class 
'cgicc::HTTPResponseHeader'
        with
        [
            _Ty=cgicc::HTTPCookie
        ]
HTTPRedirectHeader.cpp
..\cgicc\HTTPHeader.h(131) : warning C4251: 'cgicc::HTTPHeader::fCookies' : 
class 'std::vector<_Ty>' needs to have dll-interface to be used by clients 
of class 'cgicc::HTTPHeader'
        with
        [
            _Ty=cgicc::HTTPCookie
        ]
HTTPPlainHeader.cpp
..\cgicc\HTTPHeader.h(131) : warning C4251: 'cgicc::HTTPHeader::fCookies' : 
class 'std::vector<_Ty>' needs to have dll-interface to be used by clients 
of class 'cgicc::HTTPHeader'
        with
        [
            _Ty=cgicc::HTTPCookie
        ]
HTTPHTMLHeader.cpp
..\cgicc\HTTPHeader.h(131) : warning C4251: 'cgicc::HTTPHeader::fCookies' : 
class 'std::vector<_Ty>' needs to have dll-interface to be used by clients 
of class 'cgicc::HTTPHeader'
        with
        [
            _Ty=cgicc::HTTPCookie
        ]
HTTPHeader.cpp
..\cgicc\HTTPHeader.h(131) : warning C4251: 'cgicc::HTTPHeader::fCookies' : 
class 'std::vector<_Ty>' needs to have dll-interface to be used by clients 
of class 'cgicc::HTTPHeader'
        with
        [
            _Ty=cgicc::HTTPCookie
        ]
HTTPCookie.cpp
HTTPContentHeader.cpp
..\cgicc\HTTPHeader.h(131) : warning C4251: 'cgicc::HTTPHeader::fCookies' : 
class 'std::vector<_Ty>' needs to have dll-interface to be used by clients 
of class 'cgicc::HTTPHeader'
        with
        [
            _Ty=cgicc::HTTPCookie
        ]
HTMLElementList.cpp
D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\vector(35) : 
warning C4251: 'std::_Vector_val<_Ty,_Alloc>::_Alval' : class 
'std::allocator<_Ty>' needs to have dll-interface to be used by clients of 
class 'std::_Vector_val<_Ty,_Alloc>'
        with
        [
            _Ty=cgicc::HTMLAttribute,
            _Alloc=std::allocator<cgicc::HTMLAttribute>
        ]
        and
        [
            _Ty=cgicc::HTMLAttribute
        ]
        and
        [
            _Ty=cgicc::HTMLAttribute,
            _Alloc=std::allocator<cgicc::HTMLAttribute>
        ]
        ..\cgicc\HTMLAttributeList.h(50) : see reference to class template 
instantiation 'std::vector<_Ty>' being compiled
        with
        [
            _Ty=cgicc::HTMLAttribute
        ]
D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\vector(35) : 
warning C4251: 'std::_Vector_val<_Ty,_Alloc>::_Alval' : class 
'std::allocator<_Ty>' needs to have dll-interface to be used by clients of 
class 'std::_Vector_val<_Ty,_Alloc>'
        with
        [
            _Ty=cgicc::HTMLElement *,
            _Alloc=std::allocator<cgicc::HTMLElement *>
        ]
        and
        [
            _Ty=cgicc::HTMLElement *
        ]
        and
        [
            _Ty=cgicc::HTMLElement *,
            _Alloc=std::allocator<cgicc::HTMLElement *>
        ]
        ..\cgicc\HTMLElementList.h(50) : see reference to class template 
instantiation 'std::vector<_Ty>' being compiled
        with
        [
            _Ty=cgicc::HTMLElement *
        ]
HTMLElement.cpp
D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\vector(35) : 
warning C4251: 'std::_Vector_val<_Ty,_Alloc>::_Alval' : class 
'std::allocator<_Ty>' needs to have dll-interface to be used by clients of 
class 'std::_Vector_val<_Ty,_Alloc>'
        with
        [
            _Ty=cgicc::HTMLAttribute,
            _Alloc=std::allocator<cgicc::HTMLAttribute>
        ]
        and
        [
            _Ty=cgicc::HTMLAttribute
        ]
        and
        [
            _Ty=cgicc::HTMLAttribute,
            _Alloc=std::allocator<cgicc::HTMLAttribute>
        ]
        ..\cgicc\HTMLAttributeList.h(50) : see reference to class template 
instantiation 'std::vector<_Ty>' being compiled
        with
        [
            _Ty=cgicc::HTMLAttribute
        ]
D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\vector(35) : 
warning C4251: 'std::_Vector_val<_Ty,_Alloc>::_Alval' : class 
'std::allocator<_Ty>' needs to have dll-interface to be used by clients of 
class 'std::_Vector_val<_Ty,_Alloc>'
        with
        [
            _Ty=cgicc::HTMLElement *,
            _Alloc=std::allocator<cgicc::HTMLElement *>
        ]
        and
        [
            _Ty=cgicc::HTMLElement *
        ]
        and
        [
            _Ty=cgicc::HTMLElement *,
            _Alloc=std::allocator<cgicc::HTMLElement *>
        ]
        ..\cgicc\HTMLElementList.h(50) : see reference to class template 
instantiation 'std::vector<_Ty>' being compiled
        with
        [
            _Ty=cgicc::HTMLElement *
        ]
HTMLDoctype.cpp
HTMLAttributeList.cpp
D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\vector(35) : 
warning C4251: 'std::_Vector_val<_Ty,_Alloc>::_Alval' : class 
'std::allocator<_Ty>' needs to have dll-interface to be used by clients of 
class 'std::_Vector_val<_Ty,_Alloc>'
        with
        [
            _Ty=cgicc::HTMLAttribute,
            _Alloc=std::allocator<cgicc::HTMLAttribute>
        ]
        and
        [
            _Ty=cgicc::HTMLAttribute
        ]
        and
        [
            _Ty=cgicc::HTMLAttribute,
            _Alloc=std::allocator<cgicc::HTMLAttribute>
        ]
        ..\cgicc\HTMLAttributeList.h(50) : see reference to class template 
instantiation 'std::vector<_Ty>' being compiled
        with
        [
            _Ty=cgicc::HTMLAttribute
        ]
HTMLAttribute.cpp
FormFile.cpp
FormEntry.cpp
CgiUtils.cpp
CgiInput.cpp
CgiEnvironment.cpp
D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\vector(35) : 
warning C4251: 'std::_Vector_val<_Ty,_Alloc>::_Alval' : class 
'std::allocator<_Ty>' needs to have dll-interface to be used by clients of 
class 'std::_Vector_val<_Ty,_Alloc>'
        with
        [
            _Ty=cgicc::HTTPCookie,
            _Alloc=std::allocator<cgicc::HTTPCookie>
        ]
        and
        [
            _Ty=cgicc::HTTPCookie
        ]
        and
        [
            _Ty=cgicc::HTTPCookie,
            _Alloc=std::allocator<cgicc::HTTPCookie>
        ]
        ..\cgicc\CgiEnvironment.h(50) : see reference to class template 
instantiation 'std::vector<_Ty>' being compiled
        with
        [
            _Ty=cgicc::HTTPCookie
        ]
\VSN_Manager\cgicc-3.2.3\cgicc\CgiEnvironment.cpp(256) : warning C4800: 
'unsigned long' : forcing value to bool 'true' or 'false' (performance 
warning)
Cgicc.cpp
D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\vector(35) : 
warning C4251: 'std::_Vector_val<_Ty,_Alloc>::_Alval' : class 
'std::allocator<_Ty>' needs to have dll-interface to be used by clients of 
class 'std::_Vector_val<_Ty,_Alloc>'
        with
        [
            _Ty=cgicc::HTTPCookie,
            _Alloc=std::allocator<cgicc::HTTPCookie>
        ]
        and
        [
            _Ty=cgicc::HTTPCookie
        ]
        and
        [
            _Ty=cgicc::HTTPCookie,
            _Alloc=std::allocator<cgicc::HTTPCookie>
        ]
        ..\cgicc\CgiEnvironment.h(50) : see reference to class template 
instantiation 'std::vector<_Ty>' being compiled
        with
        [
            _Ty=cgicc::HTTPCookie
        ]
D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\vector(35) : 
warning C4251: 'std::_Vector_val<_Ty,_Alloc>::_Alval' : class 
'std::allocator<_Ty>' needs to have dll-interface to be used by clients of 
class 'std::_Vector_val<_Ty,_Alloc>'
        with
        [
            _Ty=cgicc::FormEntry,
            _Alloc=std::allocator<cgicc::FormEntry>
        ]
        and
        [
            _Ty=cgicc::FormEntry
        ]
        and
        [
            _Ty=cgicc::FormEntry,
            _Alloc=std::allocator<cgicc::FormEntry>
        ]
        ..\cgicc\Cgicc.h(53) : see reference to class template instantiation 
'std::vector<_Ty>' being compiled
        with
        [
            _Ty=cgicc::FormEntry
        ]
D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\vector(35) : 
warning C4251: 'std::_Vector_val<_Ty,_Alloc>::_Alval' : class 
'std::allocator<_Ty>' needs to have dll-interface to be used by clients of 
class 'std::_Vector_val<_Ty,_Alloc>'
        with
        [
            _Ty=cgicc::FormFile,
            _Alloc=std::allocator<cgicc::FormFile>
        ]
        and
        [
            _Ty=cgicc::FormFile
        ]
        and
        [
            _Ty=cgicc::FormFile,
            _Alloc=std::allocator<cgicc::FormFile>
        ]
        ..\cgicc\Cgicc.h(54) : see reference to class template instantiation 
'std::vector<_Ty>' being compiled
        with
        [
            _Ty=cgicc::FormFile
        ]
Linking...
   Creating library .\Release/cgicc.lib and object .\Release/cgicc.exp

Build log was saved at 
"file://e:\VSN_Manager\cgicc-3.2.3\win\Release\BuildLog.htm"
cgicc - 0 error(s), 18 warning(s)


---------------------- Done ----------------------

    Rebuild All: 1 succeeded, 0 failed, 0 skipped