From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 15 Jun 2009 03:31:29 +0400 From: "Alexey I. Froloff" To: ALT Devel discussion list Message-ID: <20090614233129.GA27042@altlinux.org> References: <20090608223706.D25B18144D0@granary.armor.altlinux.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gKMricLos+KVdGMg" Content-Disposition: inline In-Reply-To: <20090608223706.D25B18144D0@granary.armor.altlinux.org> User-Agent: Mutt/1.5.19 (2009-01-05) Subject: [devel] str*(3) - C vs. C++ X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jun 2009 23:31:37 -0000 Archived-At: List-Archive: List-Post: --gKMricLos+KVdGMg Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 09, 2009 at 02:37:06AM +0400, QA Team Robot wrote: > backends/midi/alsa.cpp:234: error: invalid conversion from 'const char*' = to 'char*' backends/midi/alsa.cpp:234: if ((p =3D strpbrk(arg, ADDR_DELIM)) =3D=3D NUL= L) =E7=C4=C5 arg =C9=CD=C5=C5=D4 =D4=C9=D0 const char *. SYNOPSIS #include char *strpbrk(const char *s, const char *accept); ^^^^^^^^^^^^^ /usr/include/c++/4.4.0/cstring: strpbrk(char* __s1, const char* __s2) ^^^^^^^^^^ /usr/include/c++/4.4.0/cstring: { return __builtin_strpbrk(const_cast(__s1), __s2); } ^^^^^^^^^^^^^^^= ^^^^^^^^ =E9 =CB=C1=CB =DC=D4=CF =CE=C1=DA=D9=D7=C1=C5=D4=D3=D1? =E1=CE=C1=CC=CF=C7= =C9=DE=CE=CF strchr(3) =C9 =C4=D2. --=20 Regards, Sir Raorn. --gKMricLos+KVdGMg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAko1iEwACgkQVqT7+fkT8wo03QCfTc+l6nL5amrKDY5Sh7LjraXP cgAAni9+LXCf0S5UdOFZ1OsexCX6hmZc =mmDd -----END PGP SIGNATURE----- --gKMricLos+KVdGMg--