compiler error C2668: 'cgicc::copy_if' : ambiguous call to overloaded function
"Teixeira, Joao (ext)" <[email protected]> Wed, 23 Jan 2013 16:40:15 +0100
| Newsgroups | gmane.comp.gcc.cgicc.bugs |
|---|---|
| Message-ID | <6559FFE830505247B1B3ACE13E16C28811BF674D2E@DEFTHW99E54MSX.ww902.siemens.net> |
--_004_6559FFE830505247B1B3ACE13E16C28811BF674D2EDEFTHW99E54MS_ Content-Type: multipart/alternative; boundary="_000_6559FFE830505247B1B3ACE13E16C28811BF674D2EDEFTHW99E54MS_" --_000_6559FFE830505247B1B3ACE13E16C28811BF674D2EDEFTHW99E54MS_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, the STL library implements the copy_if function too. If you do not specify = the namespace, the compiler generates an error (C2668: 'cgicc::copy_if' : a= mbiguous call to overloaded function). With best regards, Jo=E3o Teixeira Soares. develop group BASYS GmbH External service provider at Siemens AG Infrastructure & Cities Rail Systems IC RL HC EN E CI SW Werner-von-Siemens-Str. 67 91052 Erlangen, Germany Tel.: +49 (9131) 7-27592 mailto:[email protected] BASYS Gesellschaft f=FCr Anwender- und Systemsoftware mbH - A develop group= company Am Weichselgarten 4, 91058 Erlangen Management board: Prof. Dr. Detlef Kips, Dr. Michael Zanzinger; Head office= : Erlangen; Commercial register: F=FCrth HRB 2409 Important notice: This e-mail and any attachment thereof contain corporate = proprietary information. If you have received it by mistake, please notify = us immediately by reply e-mail and delete this e-mail and its attachments f= rom your system. Thank you. --_000_6559FFE830505247B1B3ACE13E16C28811BF674D2EDEFTHW99E54MS_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" http-equiv=3DContent-Type= > <META name=3DGENERATOR content=3D"MSHTML 8.00.6001.23461"></HEAD> <BODY> <DIV> <DIV class=3DSection1> <P style=3D"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class=3D= MsoNormal=20 align=3Dleft><SPAN style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt"><SPAN=20 class=3D961483015-23012013>Hi,</SPAN></SPAN></P> <P style=3D"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class=3D= MsoNormal=20 align=3Dleft><SPAN style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt"><SPAN=20 class=3D961483015-23012013>the STL library implements the copy_if function = too. If=20 you do not specify the namespace, the compiler generates an error (C26= 68:=20 'cgicc::copy_if' : ambiguous call to overloaded=20 function).<BR></SPAN></SPAN><SPAN=20 style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt"></SPAN></P> <P style=3D"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class=3D= MsoNormal=20 align=3Dleft><SPAN style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt"></SPAN>&nb= sp;</P> <P style=3D"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class=3D= MsoNormal=20 align=3Dleft><SPAN style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt">With best= =20 regards<SPAN class=3DGramE>,</SPAN><BR><SPAN class=3DSpellE>Jo=E3o</SPAN> T= eixeira=20 <SPAN class=3DSpellE>Soares</SPAN>.</SPAN></P> <P style=3D"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"=20 class=3DMsoNormal><SPAN class=3DSpellE><STRONG><SPAN=20 style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-ansi-language: DE"=20 lang=3DDE>develop</SPAN></STRONG></SPAN><STRONG><SPAN=20 style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-ansi-language: DE" lang= =3DDE>=20 </SPAN></STRONG><SPAN class=3DSpellE><B><SPAN=20 style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-ansi-language: DE"=20 lang=3DDE>group</SPAN></B></SPAN><STRONG><SPAN=20 style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-ansi-language: DE" lang= =3DDE>=20 BASYS GmbH</SPAN></STRONG><SPAN style=3D"mso-ansi-language: DE"=20 lang=3DDE><?xml:namespace prefix =3D o ns =3D=20 "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P> <P style=3D"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"=20 class=3DMsoNormal><SPAN class=3DSpellE><SPAN=20 style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-ansi-language: DE"=20 lang=3DDE>External</SPAN></SPAN><SPAN=20 style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-ansi-language: DE" lang= =3DDE>=20 <SPAN class=3DSpellE>service</SPAN> <SPAN class=3DSpellE>provider</SPAN> at= Siemens=20 AG<BR><SPAN class=3DSpellE>Infrastructure</SPAN> & <SPAN=20 class=3DSpellE>Cities</SPAN><BR><SPAN class=3DSpellE>Rail</SPAN> Systems<BR= >IC RL HC=20 EN E CI SW<BR><SPAN class=3DSpellE>Werner-von-Siemens-Str</SPAN>. 67 <BR>91= 052=20 Erlangen, Germany<BR>Tel.: +49 (9131) 7-27592 <BR><A=20 href=3D"mailto:[email protected]">mailto:joao.teixeira.ext@siem= ens.com</A>=20 </SPAN><SPAN style=3D"mso-ansi-language: DE" lang=3DDE><o:p></o:p></SPAN></= P> <P style=3D"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"=20 class=3DMsoNormal><SPAN=20 style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt; mso-ansi-language: DE" lang= =3DDE>BASYS=20 Gesellschaft f=FCr Anwender- und Systemsoftware mbH =96 A <SPAN=20 class=3DSpellE>develop</SPAN> <SPAN class=3DSpellE>group</SPAN> <SPAN=20 class=3DSpellE>company</SPAN><BR>Am Weichselgarten 4, 91058 Erlangen<BR>Man= agement=20 <SPAN class=3DSpellE>board</SPAN>: Prof. Dr. Detlef <SPAN=20 class=3DSpellE>Kips</SPAN>, Dr. Michael <SPAN class=3DSpellE>Zanzinger</SPA= N>; <SPAN=20 class=3DSpellE>Head</SPAN> <SPAN class=3DSpellE>office</SPAN>: Erlangen; Co= mmercial=20 register: F=FCrth HRB 2409</SPAN><SPAN style=3D"mso-ansi-language: DE"=20 lang=3DDE><o:p></o:p></SPAN></P> <P style=3D"mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"=20 class=3DMsoNormal><SPAN style=3D"FONT-FAMILY: Arial; FONT-SIZE: 7.5pt">Impo= rtant=20 notice: This e-mail and any attachment thereof contain corporate proprietar= y=20 information. If you have received it by mistake, please notify us immediate= ly by=20 reply e-mail and delete this e-mail and its attachments from your system.=20 </SPAN><SPAN class=3DSpellE><SPAN=20 style=3D"FONT-FAMILY: Arial; FONT-SIZE: 7.5pt; mso-ansi-language: DE"=20 lang=3DDE>Thank</SPAN></SPAN><SPAN=20 style=3D"FONT-FAMILY: Arial; FONT-SIZE: 7.5pt; mso-ansi-language: DE" lang= =3DDE>=20 <SPAN class=3DSpellE>you</SPAN></SPAN><SPAN class=3Dgrame><SPAN=20 style=3D"FONT-FAMILY: Arial; FONT-SIZE: 7.5pt">.</SPAN></SPAN></P></DIV></D= IV></BODY></HTML> --_000_6559FFE830505247B1B3ACE13E16C28811BF674D2EDEFTHW99E54MS_-- --_004_6559FFE830505247B1B3ACE13E16C28811BF674D2EDEFTHW99E54MS_ Content-Type: application/octet-stream; name="Cgicc_patch" Content-Description: Cgicc_patch Content-Disposition: attachment; filename="Cgicc_patch"; size=962; creation-date="Wed, 23 Jan 2013 15:30:00 GMT"; modification-date="Wed, 23 Jan 2013 15:30:04 GMT" Content-Transfer-Encoding: base64 KioqIEQ6L3RlbXAvY2dpY2MtMy4yLjEwL2NnaWNjL0NnaWNjX29yaWdpbmFsLmNwcAlTYXQgSmFu IDEyIDEyOjQ4OjE0IDIwMTMNCi0tLSBEOi90ZW1wL2NnaWNjLTMuMi4xMC9jZ2ljYy9DZ2ljYy5j cHAJV2VkIEphbiAyMyAxNjox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dC5lbXB0eSgpOw0KICB9DQo= --_004_6559FFE830505247B1B3ACE13E16C28811BF674D2EDEFTHW99E54MS_ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ bug-cgicc mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-cgicc --_004_6559FFE830505247B1B3ACE13E16C28811BF674D2EDEFTHW99E54MS_--