From bug-request at octave dot org Tue Dec 21 10:59:21 2004 Subject: multiline string fix From: =?UTF-8?B?TWljaGFsIMSMaWhhxZk=?= To: bug at octave dot org Date: Tue, 21 Dec 2004 10:56:30 -0600 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1EB0E3ED0DDAE79DFBDE2C61 Content-Type: multipart/mixed; boundary="------------080707030107040406030805" This is a multi-part message in MIME format. --------------080707030107040406030805 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi recent gcc versions reject multi line string constats, attached patch fixes octave compilation with them. -- Best Regards, Michal Čihař developer --------------------------------------------------------------------- SuSE CR, s.r.o. e-mail: michal dot cihar at suse dot cz Drahobejlova 27 tel: +420 2 9654 2373 190 00 Praha 9 fax: +420 2 9654 2374 Czech Republic http://www.suse.cz --------------080707030107040406030805 Content-Type: text/x-patch; name="octave-2.1.57-string.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="octave-2.1.57-string.patch" --- src/DLD-FUNCTIONS/fsolve.cc 2003-01-02 23:56:00.000000000 +0100 +++ src/DLD-FUNCTIONS/fsolve.cc 2003-02-05 11:27:53.000000000 +0100 at @ -213,31 +213,31 @@ while (0) DEFUN_DLD (fsolve, args, nargout, - "-*- texinfo -*-\n\ - at deftypefn {Loadable Function} {[@var{x}, @var{info}, @var{msg}] =} fsolve (@var{fcn}, @var{x0})\n\ -Given at var{fcn}, the name of a function of the form @code{f (@var{x})}\n\ -and an initial starting point at var{x0}, @code{fsolve} solves the set of\n\ -equations such that at code{f(@var{x}) == 0}.\n\ -\n\ -If at var{fcn} is a two-element string array, the first element names\n\ -the function at math{f} described above, and the second element names\n\ -a function of the form at code{j (@var{x})} to compute the Jacobian\n\ -matrix with elements\n\ - at tex\n\ -$$ J = {\\partial f_i \\over \\partial x_j} $$\n\ - at end tex\n\ - at ifinfo\n\ -\n\ - at example\n\ - df_i\n\ -jac(i,j) = ----\n\ - dx_j\n\ - at end example\n\ - at end ifinfo\n\ -\n\ -You can use the function at code{fsolve_options} to set optional\n\ -parameters for at code{fsolve} dot \n\ - at end deftypefn") + "-*- texinfo -*-\n" + " at deftypefn {Loadable Function} {[@var{x}, @var{info}, @var{msg}] =} fsolve (@var{fcn}, @var{x0})\n" + "Given at var{fcn}, the name of a function of the form @code{f (@var{x})}\n" + "and an initial starting point at var{x0}, @code{fsolve} solves the set of\n" + "equations such that at code{f(@var{x}) == 0}.\n" + "\n" + "If at var{fcn} is a two-element string array, the first element names\n" + "the function at math{f} described above, and the second element names\n" + "a function of the form at code{j (@var{x})} to compute the Jacobian\n" + "matrix with elements\n" + " at tex\n" + "$$ J = {\\partial f_i \\over \\partial x_j} $$\n" + " at end tex\n" + " at ifinfo\n" + "\n" + " at example\n" + " df_i\n" + "jac(i,j) = ----\n" + " dx_j\n" + " at end example\n" + " at end ifinfo\n" + "\n" + "You can use the function at code{fsolve_options} to set optional\n" + "parameters for at code{fsolve} dot \n" + " at end deftypefn") { octave_value_list retval; --------------080707030107040406030805-- --------------enig1EB0E3ED0DDAE79DFBDE2C61 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFByFZD3DVS6DbnVgQRAmPlAJ4665lpqm9Q/R9b7Z8ITvcpgwaJggCfbpvl SZxwGkRNdL8jAHM6GiIRXR8= =skdn -----END PGP SIGNATURE----- --------------enig1EB0E3ED0DDAE79DFBDE2C61-- ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------