MySQL Forums
Forum List  »  Source, Builds, Binaries

Re: Build 5-5-9 in cygwin
Posted by: Hiroaki Kawai
Date: April 30, 2011 09:36PM

Setting __STRICT_ANSI__ which is a cygwin newlib's flag will escape this issue. Try like this:

$ CPPFLAGS="-D__STRICT_ANSI__" cmake -DWITH_READLINE=ON .

But this flag will cause another issue of P_tmpdir, which is not a standard macro and mysql is using it in mysys/mf_tempdir.c, mysys/mf_tempfile.c and libmysqld/lib_sql.cc.

Options: ReplyQuote


Subject
Views
Written By
Posted
10310
February 13, 2011 06:42PM
4706
February 17, 2011 10:19AM
3461
February 28, 2011 08:32AM
3854
February 28, 2011 01:57PM
3801
April 01, 2011 06:43PM
3115
May 03, 2011 02:43PM
2618
May 05, 2011 03:45AM
2974
May 10, 2011 10:07AM
Re: Build 5-5-9 in cygwin
2648
April 30, 2011 09:36PM
4693
April 30, 2011 10:05PM
2784
May 01, 2011 07:31AM
2536
May 27, 2011 06:03AM
3183
June 08, 2011 09:49AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.