Mailing List Archive



Back to the month index Back to the list index

Art Matheny (matheny@usf.edu)
Tue, 17 Sep 1996 11:04:36 -0400 (EDT)


Date: Tue, 17 Sep 1996 11:04:36 -0400 (EDT)
From: Art Matheny <matheny@usf.edu>
Subject: Re: [mSQL] compile trouble on Solaris2.5.1....
Message-Id: <Pine.GSO.3.95.960917104647.19409C-100000@curiac>

On Tue, 17 Sep 1996, Hwang Jinsoo wrote:

> I have Solaris2.5.1(Ultra Sparc 170E) with gcc2.7.2.
> I have a hard time compiling msql1.0.16 on this platform.
> Here is the error messages... :-)
> ------------------------------------------------------------------------
> expecting )
> "insert_test.c":225: defined(__EXTENSIONS__) || defined(_REENTRANT) || (_POSIX_C_SOURCE - 0 >= 199506L)
> ^--- expecting )
> "insert_test.c":374: defined(__EXTENSIONS__) || defined(_REENTRANT) || (_POSIX_C_SOURCE - 0 >= 199506L)
> -----------------------------------------------------------------------

I got rid of those messages by making the following (somewhat crude)
modification to the source:

*** ifparser.c.org Mon Oct 17 00:33:26 1994
--- ifparser.c Mon Jul 15 15:50:32 1996
***************
*** 104,110 ****
  #else
      *valp = atoi (cp);
      /* EMPTY */
! for (cp++; isdigit(*cp); cp++) ;
  #endif
      return cp;
  }
--- 104,110 ----
  #else
      *valp = atoi (cp);
      /* EMPTY */
! for (cp++; isdigit(*cp) || *cp == 'L' ; cp++) ;
  #endif
      return cp;
  }

-- 
 LLLL  LLLLL LLLLLL  Arthur Matheny       LIB 612
LL  LL LL  LL  LL    Academic Computing   University of South Florida
LLLLLL LLLLL   LL    matheny@usf.edu      Tampa, FL 33620
LL  LL LL LL   LL    813-974-1795         FAX: 813-974-1799
LL  LL LL  LL  LL    http://www.acomp.usf.edu/

-------------------------------------------------------------------------- To remove yourself from the Mini SQL mailing list send a message containing "unsubscribe" to "unsubscribe" to msql-list-request@bunyip.com. Send a message containing "info msql-list" to majordomo@bunyip.com for info on monthly archives of the list. For more help, mail owner-msql-list@bunyip.com NOT the msql-list!