Re: Error in compliing test.cpp
"Alexander J. Oss" <[email protected]> Thu, 15 Aug 2002 21:32:49 -0400
| Newsgroups | gmane.comp.gcc.cgicc.general |
|---|---|
| Message-ID | <001401c244c4$d53e3da0$0101a8c0@puter> |
Hm. Borland C++ Builder 5.0 compiles it without any difficulty (cgicc 3.2.1), but I have to admit I have no idea what the purpose of such code would be... some kind of forward declaration? ----- Original Message ----- From: "Ishank Jain" <[email protected]> To: <[email protected]> Sent: Thursday, August 15, 2002 10:55 AM Subject: [help-cgicc] Error in compliing test.cpp Hello friends, I just started using cgicc as a tool for web. I am trying to compile the test.cpp demo provided with the default installation of cgicc. It keeps giving me the following error. No matter what changes I do these errors are always there. I am using VC++ 6.0 for compilation running on Windows XP. Compiling... test.cpp ..\cgicc/CgiEnvironment.h(50): error #802: class "std::vector<cgicc::HTTPCookie, std::allocator<cgicc::HTTPCookie>>" cannot be explicitly instantiated in the current scope template class CGICC_API STDNS vector<HTTPCookie>; ^ ..\cgicc/Cgicc.h(53): error #802: class "std::vector<cgicc::FormEntry, std::allocator<cgicc::FormEntry>>" cannot be explicitly instantiated in the current scope template class CGICC_API STDNS vector<FormEntry>; ^ ..\cgicc/Cgicc.h(54): error #802: class "std::vector<cgicc::FormFile, std::allocator<cgicc::FormFile>>" cannot be explicitly instantiated in the current scope template class CGICC_API STDNS vector<FormFile>; ^ ..\cgicc/HTMLAttributeList.h(50): error #802: class "std::vector<cgicc::HTMLAttribute, std::allocator<cgicc::HTMLAttribute>>" cannot be explicitly instantiated in the current scope template class CGICC_API STDNS vector<HTMLAttribute>; ^ compilation aborted for D:\Development\cgicc-3.2.1\demo\test.cpp (code 2) Error executing xicl6.exe. test.exe - 4 error(s), 0 warning(s) Please advice, Ishank Jain ---------------------------------------------------------------------------- -------- Engineering Intern Vital Images Inc. Minneapolis, MN, USA Voice: (763) 852-4081 Email: [email protected] <mailto:[email protected]> ---------------------------------------------------------------------------- --------