[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[xml] VC6, STL and VALID.H header error during compilation



In line 401, there are a function argument named "list" that produce an error compiling mfc apps with vc6.

A solution found is substitute "list" by "_list".

The problem encountered is that my apps use STL and the argument "list" conflicts with the "std::list" template implementation in vc6.

Can anybody change the argument name in valid.h header or say me what workaround can I make to solve the compile error?

I use the "using namespace std" in all .cpp files that uses STL templates.

Thanks for your help

--
   Samuel Díaz García
    Director Gerente
ArcosCom Wireless, S.L.L.

mailto:samueldg arcoscom com
http://www.arcoscom.com

Móvil: 651 93 72 48
Tlfn.: 956 70 13 15
Fax:   956 70 34 83

begin:vcard
fn;quoted-printable:Samuel D=C3=ADaz Garc=C3=ADa
n;quoted-printable:D=C3=ADaz Garc=C3=ADa;Samuel
org:ArcosCom Wireless, S.L.L.;I+D+I
adr;quoted-printable;quoted-printable:;;c/ Romero Gago, 19;Arcos de la Frontera;C=C3=A1diz;11630;Espa=C3=B1a
email;internet:samueldg arcoscom com
title:Director Gerente
tel;work:956 70 13 15
tel;fax:956 70 34 83
tel;cell:651 937 248
x-mozilla-html:FALSE
url:http://www.arcoscom.com
version:2.1
end:vcard



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]