[cgma-dev] Lasso with gcc-4.4.1 (patch)
Tim Tautges
tautges at mcs.anl.gov
Mon Oct 19 16:18:10 CDT 2009
Done.
- tim
Jed Brown wrote:
> Could you apply this patch to Lasso. I think I sent it last month, but
> it wasn't applied.
>
>
> commit ee63f99be71ecc3a83c80d2f29026f253f7da458
> Author: Jed Brown <jed at 59A2.org>
> Date: Fri Sep 18 10:36:02 2009 -0500
>
> Include stdio.h required for sprintf with stricter gcc-4.4.1
>
> diff --git a/AssocPairC.cpp b/AssocPairC.cpp
> index f980cce..01005c4 100644
> --- a/AssocPairC.cpp
> +++ b/AssocPairC.cpp
> @@ -5,6 +5,7 @@
> #include "iRel.h"
>
> #include <string.h>
> +#include <stdio.h>
>
> #define RETURN(a) {iRel_LAST_ERROR.error_type = a; return a;}
> #define iRel_processError(a, b) {sprintf(iRel_LAST_ERROR.description, b); iRel_LAST_ERROR.error_type = a;}
> diff --git a/iRel_Lasso.cpp b/iRel_Lasso.cpp
> index 8a3f6ff..b5d6c3f 100644
> --- a/iRel_Lasso.cpp
> +++ b/iRel_Lasso.cpp
> @@ -19,6 +19,7 @@
> #include <map>
> #include <algorithm>
> #include <math.h>
> +#include <stdio.h>^M
>
> const bool debug = false;
>
>
--
================================================================
"You will keep in perfect peace him whose mind is
steadfast, because he trusts in you." Isaiah 26:3
Tim Tautges Argonne National Laboratory
(tautges at mcs.anl.gov) (telecommuting from UW-Madison)
phone: (608) 263-8485 1500 Engineering Dr.
fax: (608) 263-4499 Madison, WI 53706
More information about the cgma-dev
mailing list